mirror of
https://github.com/status-im/status-mobile.git
synced 2026-08-30 08:31:13 +00:00
This change re-introduces the Firebase SDK via a react-native library. This has been done to support remote notifications via push-notifications from Firebase Cloud Messaging. This initial integration supports receiving FCM notifications on both iOS and Android platforms. This change also attempts to ensure that FDroid builds will not include Firebase or Google Play Services inside the build.
13 lines
396 B
Bash
Executable File
13 lines
396 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
# Used by Clojure to condition code and Gradle to make dependencies optional
|
|
sed -i -e '$aGOOGLE_FREE=1' .env.release
|
|
|
|
# remove firebase (uses google dependencies) and google-services.json for the fdroid-build
|
|
yarn remove @react-native-firebase/app
|
|
yarn remove @react-native-firebase/messaging
|
|
rm android/app/google-services.json
|
|
rm android/app/googleServices.gradle
|