Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which parts of firebase are actually works with react-native and which do not? [closed]

Here the "List" of firebase features

  • Analytics
  • Cloud Messaging
  • Remote Config
  • Dynamic Links
  • Notifications
  • Invites
  • Test Lab
  • Crash Reporting
  • AdMob
  • Storage
  • Realtime Database
  • Google AdWords
  • Authentication
  • App Indexing

However, at least, some of them don't work properly and some do not work at all with react-native.

Let's share here our experience dealing with all these services. I hope, that will clarify, what exactly FB is good for with react-native app.

I'll be storing summary here:

  • Analytics
    • Likely supported with third-party library
  • Cloud Messaging
    • Likely supported with third-party library
  • Remote Config
    • Not supported
  • Dynamic Links
    • Not supported
  • Notifications
    • Likely supported with third-party library
  • Invites
    • Not supported
  • Test Lab
    • Not supported
  • Crash Reporting
    • Likely supported with third-party library
  • AdMob
    • Likely supported with third-party library
  • Storage
    • I guess, now it's fully supported?
  • Realtime Database
    • Web (JS) SDK does not support: offline data persistence
  • Google AdWords
  • Authentication
    • Google, Facebook (etc.) auth is not supported at all. Possible solutions include third-party libraries, firebase-native-sdk bridges etc. There are not well documented solution atm.
  • App Indexing
    • Likely supported with third-party library
like image 684
stkvtflw Avatar asked Oct 21 '16 11:10

stkvtflw


1 Answers

Check out react-native Firestack. Its currently being worked on but most features are supported for both Android and iOS. I recently used this react-native library for a production application for my company and supports many of the options you listed that you believed were not supported. According to the documentation Firestack provides

Complete FirebaseModule functionality

I have used Firebase authentication, Facebook authentication, Firebase storage, Firebase database, and Firebase notifications all with the Firestack framework.

Another reason I would use this library is it contains the individual modules you listed above but in a centralized repository so you do not have to import many different libraries and deal with their possible incompatibilities and differences in syntax.

like image 112
Alex Harrison Avatar answered Sep 30 '22 06:09

Alex Harrison