React Native Firestack screenshot

React Native Firestack

Author Avatar Theme by Fullstackreact
Updated: 7 Jun 2017
713 Stars

A firestack v3 react-native implementation

Categories

Overview:

Firestack is a light-weight layer built on top of the native Firebase libraries for iOS and Android. It mirrors the React Native JS API closely, making it easier to use the latest Firebase features without the need for the window object.

Features:

  • Automatic setup on Firebase
  • Supports various Firebase features like authentication, storage handling, real-time database, analytics, etc.
  • Redux support built-in
  • Community-supported with professional backing
  • Designed to be simple and easy to use

Installation:

To install the Firestack library, you can follow these steps:

  1. Install the npm package:
    npm install react-native-firestack
    
  2. Link the project with react-native:
    react-native link react-native-firestack
    
  3. For ensuring Android setup, check MainApplication.java for the FirestackPackage() line.

For iOS (with cocoapods):

  • Due to App Store restrictions, Firebase libraries are not packaged with Firestack.
  • Use the following steps for linking the package:
    • Automatically with react-native-cli or
    • Manually by adding files in XCode and updating the newly installed pods.

Summary:

Firestack is a convenient tool for utilizing the latest Firebase features without the need for the window object. It simplifies the integration of Firebase with React Native applications, providing a wide range of functionalities and supporting both Android and iOS platforms. The library is designed to be user-friendly and seamlessly integrates with React Native projects, making it a valuable tool for developers looking to leverage Firebase capabilities in their apps.