- Head to your terminal/cmd of choice, type the following command, and hit Return/Enter respectively:
tns plugin add nativescript-plugin-firebase
This command will install the necessary plugin and do the required configuration.
- To find out the id, open your package.json file where you will find the NativeScript value:
"nativescript": { "id": "org.nativescript.<your-app-name>" }
- Copy the id that you found in the preceding step and head over to your Firebase project console. Create a new Android/iOS application and paste that ID over your bundle name. Download the google-service.json/GoogleServices-Info.plist files and paste google-server.json in your app/Application_Resources/Android folder if you created an Android ...