Browse Source

chore: Only load google services if needed

yiffed
Christian Pauly 7 months ago
parent
commit
051ec8f913
  1. 5
      README.md
  2. 4
      android/app/build.gradle

5
README.md

@ -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

4
android/app/build.gradle

@ -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'
}
Loading…
Cancel
Save