chore: Only load google services if needed

Originally done in 051ec8f913e6532349f0912cac3ca84507c542bb then
accidentally (?) reverted in 8a542bf5c2f5dd2cd275111074f29b71b2b11dd7
onboarding
Marcus Hoffmann 4 years ago
parent 2a0a422847
commit bdc52cf8d6

@ -87,4 +87,6 @@ dependencies {
implementation "net.zetetic:android-database-sqlcipher:4.4.0" // needed for moor_ffi w/ sqlcipher
}
apply plugin: 'com.google.gms.google-services'
if(file("google-services.json").exists()){
apply plugin: 'com.google.gms.google-services'
}

@ -1,5 +1,4 @@
#!/usr/bin/env bash
flutter channel stable
flutter upgrade
truncate -s $(head -n -2 android/app/build.gradle | wc -c) android/app/build.gradle
flutter build apk --debug -v
flutter build apk --debug -v

Loading…
Cancel
Save