diff --git a/android/.gitignore b/android/.gitignore index 2f00f69..08b1ec7 100644 --- a/android/.gitignore +++ b/android/.gitignore @@ -10,3 +10,4 @@ GeneratedPluginRegistrant.java # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app key.properties app/debug-keystore.jks +app/upload-keystore.jks \ No newline at end of file diff --git a/android/app/build.gradle b/android/app/build.gradle index 2372c3e..24532ec 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -50,10 +50,16 @@ android { signingConfigs { debug { - keyAlias keystoreProperties['keyAlias'] - keyPassword keystoreProperties['keyPassword'] - storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null - storePassword keystoreProperties['storePassword'] + keyAlias keystoreProperties['debugKeyAlias'] + keyPassword keystoreProperties['debugKeyPassword'] + storeFile keystoreProperties['debugStoreFile'] ? file(keystoreProperties['debugStoreFile']) : null + storePassword keystoreProperties['debugStorePassword'] + } + release { + keyAlias keystoreProperties['releaseKeyAlias'] + keyPassword keystoreProperties['releaseKeyPassword'] + storeFile keystoreProperties['releaseStoreFile'] ? file(keystoreProperties['releaseStoreFile']) : null + storePassword keystoreProperties['releaseStorePassword'] } } @@ -61,6 +67,9 @@ android { debug { signingConfig signingConfigs.debug } + release { + signingConfig signingConfigs.release + } } } diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 90c030a..f4f807b 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,6 @@ + diff --git a/lib/main.dart b/lib/main.dart index 085bce0..0facec9 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -26,6 +26,7 @@ void main() async { runApp(MaterialApp( title: "Sochem App", initialRoute: AppRoute, + debugShowCheckedModeBanner: false, routes: { AppRoute: (context) => App(), HomeRoute: (context) => HomeScreen(),