diff --git a/README.md b/README.md index 51d08c9..7e42df4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# movies_app +# yeez Stay up to date on the latest movies diff --git a/android/app/build.gradle b/android/app/build.gradle index d92063f..f899bec 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -4,6 +4,12 @@ plugins { id "dev.flutter.flutter-gradle-plugin" } +def keystoreProperties = new Properties() +def keystorePropertiesFile = rootProject.file('key.properties') +if (keystorePropertiesFile.exists()) { + keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) +} + def localProperties = new Properties() def localPropertiesFile = rootProject.file('local.properties') if (localPropertiesFile.exists()) { @@ -23,7 +29,7 @@ if (flutterVersionName == null) { } android { - namespace "com.benb.movies_app" + namespace "yeez" compileSdk flutter.compileSdkVersion ndkVersion flutter.ndkVersion @@ -42,7 +48,7 @@ android { defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId "com.benb.movies_app" + applicationId "com.app.yeez" // 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 flutter.minSdkVersion @@ -51,11 +57,20 @@ android { versionName flutterVersionName } + signingConfigs { + release { + keyAlias = keystoreProperties['keyAlias'] + keyPassword = keystoreProperties['keyPassword'] + storeFile = keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null + storePassword = keystoreProperties['storePassword'] + } + } + buildTypes { release { // TODO: Add your own signing config for the release build. // Signing with the debug keys for now, so `flutter run --release` works. - signingConfig signingConfigs.debug + signingConfig signingConfigs.release } } } diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 630d72a..d74a0af 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,9 +1,11 @@ - - - + + + - + @@ -29,9 +28,7 @@ - +