From 2cea6408fb7b77d7c98e200d7667b4ebf5eb3663 Mon Sep 17 00:00:00 2001 From: dstark5 Date: Fri, 11 Aug 2023 04:22:06 -0700 Subject: [PATCH] changed application id --- android/app/build.gradle | 7 +++++-- android/app/src/main/AndroidManifest.xml | 8 ++------ .../com/{openlib/app => app/openlib}/MainActivity.kt | 2 +- ios/Runner.xcodeproj/project.pbxproj | 12 ++++++------ linux/CMakeLists.txt | 2 +- macos/Runner/Configs/AppInfo.xcconfig | 2 +- 6 files changed, 16 insertions(+), 17 deletions(-) rename android/app/src/main/kotlin/com/{openlib/app => app/openlib}/MainActivity.kt (80%) diff --git a/android/app/build.gradle b/android/app/build.gradle index b8582bd..3463d51 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -34,7 +34,7 @@ if (keystorePropertiesFile.exists()) { android { - namespace "com.openlib.app" + namespace "com.app.openlib" compileSdkVersion flutter.compileSdkVersion ndkVersion flutter.ndkVersion @@ -53,7 +53,7 @@ android { defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId "com.openlib.app" + applicationId "com.app.openlib" // You can update the following values to match your application needs. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. minSdkVersion localProperties.getProperty('flutter.minSdkVersion').toInteger() @@ -68,6 +68,8 @@ android { keyPassword keystoreProperties['keyPassword'] storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null storePassword keystoreProperties['storePassword'] + v1SigningEnabled true + v2SigningEnabled true } } @@ -75,6 +77,7 @@ android { release { // TODO: Add your own signing config for the release build. // Signing with the debug keys for now, so `flutter run --release` works. + // replace with "debug" when running on debug version signingConfig signingConfigs.release } } diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index ea5980c..e85159d 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,10 +1,6 @@ - - - - + +