chore: Only load google services if needed
This commit is contained in:
parent
dae5b687b6
commit
051ec8f913
|
@ -57,11 +57,6 @@ cd fluffychat-flutter
|
||||||
sudo apt install ninja-build
|
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`
|
* Build with: `flutter build apk`
|
||||||
|
|
||||||
### iOS / iPadOS
|
### iOS / iPadOS
|
||||||
|
|
|
@ -87,4 +87,6 @@ dependencies {
|
||||||
implementation "net.zetetic:android-database-sqlcipher:4.4.0" // needed for moor_ffi w/ sqlcipher
|
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'
|
||||||
|
}
|
Loading…
Reference in a new issue