EvanBacon / expo-native-firebase

🔥 Native Firebase Expo App (iOS, Android) Demo for Firestore, Notifications, Analytics, Storage, Messaging, Database 🚨
211 stars 41 forks source link

Can this be used with managed workflow? [question] #26

Closed zzzej closed 4 years ago

zzzej commented 4 years ago

I guess not bc of the multiple instances thing right?

zzzej commented 4 years ago

from blogpost (https://blog.expo.io/using-firebase-in-expo-e13844061832)

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.