React Native Firebase Starter screenshot

React Native Firebase Starter

Author Avatar Theme by Invertase
Updated: 24 Jul 2020
1172 Stars

DEPRECATED: For RNFB v5 only.

Categories

Overview

The React Native Firebase Starter is a basic react native app that comes pre-integrated with react-native-firebase. It is designed to help developers get started quickly with their react native projects.

Features

  • Pre-integrated with react-native-firebase
  • Allows for easy cloning and installation of dependencies
  • Provides instructions for renaming the project and setting up Firebase
  • Includes pre-installed AdMob functionality

Installation

  1. Clone the repository by running the following command: git clone https://github.com/invertase/react-native-firebase-starter.git
  2. Navigate to the project directory: cd react-native-firebase-starter
  3. Install the necessary NPM packages using either yarn or npm: yarn or npm install
  4. Rename the project by running the command: npm run rename and follow the prompts to enter a project name and company name
  5. For iOS, navigate to the ios directory and run pod install to install CocoaPods
  6. Follow the instructions provided by Firebase to generate the GoogleService-Info.plist and google-services.json files for iOS and Android respectively. Place these files in the appropriate directories within the project.
  7. Set up AdMob by removing or changing the AdMob App ID in the info.plist file for iOS and the AndroidManifest.xml file for Android.
  8. Start the app by running yarn run start or npm start to start the React Native packager. For iOS, build and run the app using npm run ios or yarn run ios.

Summary

The React Native Firebase Starter provides a basic starting point for developers looking to integrate react-native-firebase into their react native projects. It includes pre-installed functionality such as AdMob and provides clear installation and setup instructions to help developers get started quickly.