Files
Sean Hagstrom d0221aff1c feat: integrate firebase sdk for ios and android (#21983)
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.
2025-04-14 11:09:19 +01:00

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