yannistrom
yannistrom

Reputation: 55

React Native Firebase installation does not work

Hi I'm following the guidelines of https://rnfirebase.io/docs/v3.1.x/installation/initial-setup to install firebase for React Native. I'm using an Android Emulator.

After everything is done I cannot start the application. That's what happens when starting the app via 'react-native run-android':

Parsing json file: C:\Users\Studium\WebstormProjects\app-programming\android\app\google-services.json :app:processDebugGoogleServices FAILED

FAILURE: Build failed with an exception.

BUILD FAILED

Total time: 25.864 secs Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment: https://facebook.github.io/react-native/docs/android-setup.html

Does someone know what I did wrong?

Upvotes: 0

Views: 738

Answers (1)

Aravindh Kumar
Aravindh Kumar

Reputation: 1243

In firebase console, you can get google-services.json file and place it in android/app directory and get googleServices-info.plist file and place it in /ios directory

if you want to use analytics only use firebase analytics it works for me.

Upvotes: 1

Related Questions