diff --git a/undomain/.env b/undomain/.env new file mode 100644 index 0000000..50aa995 --- /dev/null +++ b/undomain/.env @@ -0,0 +1,5 @@ +ZEGO_APPID=28439340 +ZEGO_APPSING=fa42963266224d38a78401e3266172c17468fdf478797b1d5cda2aadc52ff90d +interstialid=ca-app-pub-7456704293485699~6368331718 +interstialAdunitid=ca-app-pub-7456704293485699/2251695563 +nativeadunitid=ca-app-pub-7456704293485699/9243403920 \ No newline at end of file diff --git a/undomain/.gitignore b/undomain/.gitignore index 79c113f..a7e49bb 100644 --- a/undomain/.gitignore +++ b/undomain/.gitignore @@ -11,7 +11,7 @@ .svn/ .swiftpm/ migrate_working_dir/ - +/secrets/ # IntelliJ related *.iml *.ipr diff --git a/undomain/android/app/build.gradle.kts b/undomain/android/app/build.gradle.kts index 3cca62d..a69b2d3 100644 --- a/undomain/android/app/build.gradle.kts +++ b/undomain/android/app/build.gradle.kts @@ -7,7 +7,7 @@ plugins { android { namespace = "com.example.undomain" - compileSdk = 35 + compileSdk = 34 ndkVersion = flutter.ndkVersion @@ -25,7 +25,7 @@ android { applicationId = "com.example.undomain" // You can update the following values to match your application needs. // For more information, see: https://flutter.dev/to/review-gradle-config. - minSdk = 22 + minSdk = 23 targetSdk = flutter.targetSdkVersion versionCode = flutter.versionCode versionName = flutter.versionName @@ -36,6 +36,9 @@ android { // TODO: Add your own signing config for the release build. // Signing with the debug keys for now, so `flutter run --release` works. signingConfig = signingConfigs.getByName("debug") + + proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro") + } } } @@ -43,3 +46,6 @@ android { flutter { source = "../.." } +// dependencies { +// implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" +// } \ No newline at end of file diff --git a/undomain/android/app/proguard-rules.pro b/undomain/android/app/proguard-rules.pro new file mode 100644 index 0000000..64f7ad3 --- /dev/null +++ b/undomain/android/app/proguard-rules.pro @@ -0,0 +1,2 @@ +-keep class **.zego.** { *; } +-dontwarn com.itgsa.opensdk.mediaunit.KaraokeMediaHelper \ No newline at end of file diff --git a/undomain/android/app/src/main/AndroidManifest.xml b/undomain/android/app/src/main/AndroidManifest.xml index bc69e72..3cbbabe 100644 --- a/undomain/android/app/src/main/AndroidManifest.xml +++ b/undomain/android/app/src/main/AndroidManifest.xml @@ -1,4 +1,13 @@ + + + + + + + + + + +