Skip to content

Instantly share code, notes, and snippets.

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

nandorojo commented Mar 18, 2022

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

@daurelien
Copy link

daurelien commented May 18, 2022

@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

nandorojo commented Sep 20, 2022

the official library does.

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