Firestack makes using the latest Firebase with React Native straight-forward.
npm i react-native-firestack --save
Firestack is a light-weight layer sitting on-top of the native Firebase libraries for both iOS and Android which mirrors the React Native JS api as closely as possible. It features:
Featuring; authentication, storage, real-time database, presence, analytics, cloud messaging, remote configuration, redux support and more!
Although the Firebase JavaScript library will work with React Native, it's designed for the web and/or server. The native SDKs provide much needed features specifically for mobile applications such as offline persistance. Firestack provides a JavaScript interface into the native SDKs to allow your React Native application to utilise these features, and more!
We have a working application example available in at fullstackreact/FirestackApp. Check it out for more details about how to use Firestack.
- Installation
- Firebase Setup
- API
- Redux
For a detailed discussion of how Firestack works as well as how to contribute, check out our contribution guide.