chore: Only load google services if needed

This commit is contained in:
Christian Pauly 2020-10-27 13:14:10 +00:00
parent dae5b687b6
commit 051ec8f913
2 changed files with 3 additions and 6 deletions

View File

@ -57,11 +57,6 @@ cd fluffychat-flutter
sudo apt install ninja-build
```
* Outcomment the Google Services plugin at the end of the file `android/app/build.gradle`:
```
// apply plugin: "com.google.gms.google-services"
```
* Build with: `flutter build apk`
### iOS / iPadOS

View File

@ -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() || System.getenv('CI')){
apply plugin: 'com.google.gms.google-services'
}