Step 1: Create Project in the firebase console using your app package name. Ex: com.testapp
Step 2: After the project creation download the
google-service.json file which is automatically generated.
Step 3: Add the
google-service.json file to your android Application with in the
Install the react-native-firebase package in your project.
To allow Firebase on Android to use the credentials, the google-services plugin must be enabled on the project. This requires modification to two files in the Android directory.
First, add the google-services plugin as a dependency inside of your
Next, execute the plugin by adding the following to your
Lastly, execute the plugin by adding the following to your
|Unique Id to Register the User||String||true|
|data||Username and Password||Object|
Please add the following code to your