Skip to content

Instantly share code, notes, and snippets.

Created March 14, 2019 02:29
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save brentvatne/9038b16b4f42a21cea40ad5c35fdb74c to your computer and use it in GitHub Desktop.
Archiving expo-firebase

We started building expo-firebase based off of react-native-firebase in order to attempt to get it to work well within the Expo client. It turned out that there wasn't a good way to do this - the SDK fully expects that there is one binary per app, and the Expo client has multiple apps inside of it. We weren't able to work around this.

If you'd like to use Firebase in the Expo client with the managed workflow, we'd recommend using the Firebase JS SDK. It supports Firebase Realtime Database and Firebase Storage. If you'd like access to the full suite of native firebase tools, we recommend using the bare workflow and react-native-firebase, because we cannot support this in the Expo client currently.

Copy link

fparhat-rbi commented Feb 14, 2022

If someone wanted to enable Crashlytics or Firebase Performance traces, is the only way via config-plugins and creating new custom expo modules?

Has anyone successfully integrated Crashlytics of Firebase Performance into their expo applications thus far?

Copy link

you can now use react-native-firebase with config plugins, I would do that

Copy link

raiss commented Mar 18, 2022

@nandorojo does it mean the expo doesn't need to be ejected?

Copy link

basically. you should learn about expo config plugins and custom dev clients

Copy link

i'm using expo app, added expo-firebase-analytics to get analytics with js sdk. (it work)
I also want to get crashlytics but the expo library (expo-crashlytics) is deprecated ... any issue ?
(i can't eject expo)

Copy link

ansh commented Sep 20, 2022

@nandorojo Do you have a config plugin for react-native-firebase?

Copy link

the official library does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment