build: Use gradle in kotlin
This commit is contained in:
parent
02c8db1c9f
commit
4afd9684c9
22 changed files with 196 additions and 2262 deletions
10
scripts/add-firebase-messaging.sh
Executable file
10
scripts/add-firebase-messaging.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
flutter pub add fcm_shared_isolate
|
||||
flutter pub get
|
||||
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
sed -i '' 's,//<GOOGLE_SERVICES>,,g' lib/utils/background_push.dart
|
||||
else
|
||||
sed -i 's,//<GOOGLE_SERVICES>,,g' lib/utils/background_push.dart
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue