react-native-firebase/docs/firebase-setup.md

1.3 KiB

Firebase Setup

The RNFirebase library is intended on making it easy to work with Firebase and provides a small native shim to the Firebase native code.

To add Firebase to your project, make sure to create a project in the Firebase console

Create a new project

Each platform uses a different setup method after creating the project.

iOS

For iOS, ensure you've followed the instructions provided by Firebase; adding your GoogleService-Info.plist file to the project, and configuring your AppDelegate.

Android

For Android, ensure you've followed the instructions provided by Firebase; adding your google-services.json file to the project, installing the google-services plugin and applying at the end of your build.gradle.