From 66501c21f69c84a0d5121c2a13e64edbcf87f8b3 Mon Sep 17 00:00:00 2001 From: Arjun Gupta Date: Sat, 2 Apr 2022 10:13:16 +0530 Subject: [PATCH] Release 1.0 changes --- android/.gitignore | 1 + android/app/build.gradle | 17 +++++++++++++---- android/app/src/main/AndroidManifest.xml | 1 + lib/main.dart | 1 + 4 files changed, 16 insertions(+), 4 deletions(-) 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(),