Skip to content

Instantly share code, notes, and snippets.

@brentvatne
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
Embed
What would you like to do?
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.

@nandorojo
Copy link

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

@raiss
Copy link

raiss commented Mar 18, 2022

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

@nandorojo
Copy link

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

@daurelien
Copy link

@nandorojo
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)

@ansh
Copy link

ansh commented Sep 20, 2022

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

@nandorojo
Copy link

the official library does.

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