chore: Only load google services if needed

This commit is contained in:
Christian Pauly 2020-10-27 13:14:10 +00:00
parent 60979450f4
commit 0bf281c3b3
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'
}