mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 09:45:14 +00:00
chore: Only load google services if needed
This commit is contained in:
parent
60979450f4
commit
0bf281c3b3
2 changed files with 3 additions and 6 deletions
|
@ -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