Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Expo and react-native-firebase

I'm trying to integrate Firebase into my expo app using the react-native-firebase framework which has several advantages over the regular firebase package when it comes to react-native apps.

However, I'm running into difficulties since the instructions say I must add the GoogleService-Info.plist to ios/[YOUR APP NAME]/GoogleService-Info.plist, and expo apps don't have an ios folder from what I understand.

Am I pretty much screwed or is there a solution for this?

like image 597
MarksCode Avatar asked Oct 05 '17 18:10

MarksCode


1 Answers

It's in progress --

https://blog.expo.io/using-firebase-in-expo-e13844061832

Using Firebase in Expo And how we plan on adding it to the client 😁 We are super excited to announce that we will be rolling out a suite of Unimodules that will provide you with easy access to native Firebase features! initially you will only be able to use these in a detached ExpoKit App. But over time we will be working to add these to vanilla Expo.

TL;DR
Here are the modules, you will need to detach to add them for now:

  • App/Core
  • Analytics
  • Authentication
  • Cloud Firestore
  • Cloud Functions
  • Instance ID
  • Performance Monitor
  • Realtime Database
  • Cloud Storage
  • Remote Config
  • Firebase Cloud Messaging
  • Remote Notifications
  • Dynamic Linking
  • Invites
  • Crashlytics

Also TL;DR
Here is a boilerplate: https://github.com/EvanBacon/expo-native-firebase

like image 164
MattPark Avatar answered Sep 26 '22 00:09

MattPark