diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 7d93efd..d9c0d04 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -9,7 +9,7 @@ plugins { } android { - namespace = "com.example.travel_mate" + namespace = "be.davdayronvl.travel_mate" compileSdk = flutter.compileSdkVersion ndkVersion = flutter.ndkVersion @@ -24,7 +24,7 @@ android { defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId = "com.example.travel_mate" + applicationId = "be.davdayronvl.travel_mate" // You can update the following values to match your application needs. // For more information, see: https://flutter.dev/to/review-gradle-config. minSdk = flutter.minSdkVersion @@ -32,12 +32,18 @@ android { versionCode = flutter.versionCode versionName = flutter.versionName } + 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.getByName("debug") + signingConfig = signingConfigs.release } } }