edit  Edit page
message  Send Feedback

Integrate Into Existing Project

This guide is for integrating Firebase into an existing React Native project.

Creating a new React Native project? See the new projects guide instead.

info

Expo Users: Support will not be provided when using the library in Expo applications (ejected or otherwise). For support on how to use Firebase with Expo, you should contact the Expo team or the Expo community.

Adding the app dependency

Every project using React Native Firebase requires the app module to be installed. Using Yarn, add the module to your project:

yarn add @react-native-firebase/app

If you are using React Native <= 0.59 you need to manually integrate the app module into your project. See the following steps for Android and iOS for more information on manual linking.

For users on React Native >= 0.60, the module will be automatically linked to your project.

Next

Now that you've installed the core Firebase module into your existing project, you now need to setup your project with Android & iOS:

React Native Market

Looking for pre-built React Native apps to kick start your next project? Check out the React Native Market by Invertase.

Your purchases help support our open-source projects such as React Native Firebase. All items are currently 50% off to celebrate the release of React Native Firebase version 6.
shopping_cartVisit React Native Market