feat: Update Android namespace and application ID, and configure release signing.
Some checks failed
Deploy to Play Store / build_and_deploy (push) Has been cancelled

This commit is contained in:
Van Leemput Dayron
2025-11-28 13:07:01 +01:00
parent 272fce2e59
commit bf796a661c

View File

@@ -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
}
}
}