Make sure both flavors have a different applicationID suffix

master
MTRNord 2019-02-21 15:01:13 +01:00
parent 79fafdeeba
commit be8206cb9e
No known key found for this signature in database
GPG Key ID: E5B89311FAB91B9F
4 changed files with 3 additions and 4 deletions

1
.gitignore vendored
View File

@ -13,6 +13,7 @@ sentry.properties
.directory
javadoc
mobile/src/fcm/google-services.json
mobile/src/fcm/google-services_old.json
olm/
tmp/
.chglog/

View File

@ -48,8 +48,6 @@ deploy_nightly:
- test -z "$DEBUG_KEYSTORE" && exit 0
# build the APKs!
- ./gradlew assembleDebug
- ls -lah /builds/Nordgedanken/simplematrix/SimpleMatrix/mobile/build/outputs/apk/fcm/debug/
- ls -lah /builds/Nordgedanken/simplematrix/SimpleMatrix/mobile/build/outputs/apk/fdroid/debug/
- fdroid nightly -v
except:
variables:

View File

@ -79,12 +79,12 @@ android {
flavorDimensions "notifcations"
productFlavors {
fdroid {
applicationId "blog.nordgedanken.simplematrix"
applicationIdSuffix ".fdroid"
versionNameSuffix "-fdroid"
buildConfigField "boolean", "ALLOW_FCM_USE", "false"
}
fcm {
applicationId "blog.nordgedanken.simplematrix"
applicationIdSuffix ".fcm"
versionNameSuffix "-fcm"
buildConfigField "boolean", "ALLOW_FCM_USE", "true"
}