Skip to content

Commit 7dc2c5c

Browse files
committed
Create flavor development and production for Android platform
1 parent 0a2a5ef commit 7dc2c5c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

android/app/build.gradle

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,18 @@ android {
4848
signingConfig signingConfigs.debug
4949
}
5050
}
51+
52+
flavorDimensions "production, development"
53+
productFlavors {
54+
production {
55+
resValue "string", "app_name", "FNews"
56+
}
57+
development {
58+
resValue "string", "app_name", "Dev FNews"
59+
applicationIdSuffix ".development"
60+
versionNameSuffix "-dev"
61+
}
62+
}
5163
}
5264

5365
flutter {

0 commit comments

Comments
 (0)