Firebase Messaging:
NOTE :
- Before running the app make sure you have import Collection json in
Firestore database which we have provided.
- Before import json in firestore database remember to give rule permission or
create Firestore Data.
See the Firebase Rules for create
Firestore
Database and how to give
permission
in firebase.
Also you can check below video for how to import json in firebase:
VIDEO URL :
https://youtu.be/Jd0sW8Wrc5Y?si=AxC6BmWBFwZfZU4a
NOTE :
-
Check it out below video for how to upload Json in Firebase Remote Config:
VIDEO URL :
https://drive.google.com/file/d/1oypoHYIQuZ_61Q4OQ6BpPwQwmWFl35Jz/view?usp=sharing
-
Go to your Firebase Project in that left hand side panel click on setting
icon. On click
Setting
button pop open open.
In that click on Project Settings
-
In that click on Servie accounts. In that tab click on button Generate
new private key
-
After click on button confirmation dialog will be open in that click on
Generate Key button.
- As soon as you click on the button with your project name the .json file will be downloaded.
- Open the .json file in your visulStudio or Text editor file then copy that file.
-
Go to the firebase project -> Product categories -> Run -> Remote config. In the
Remote config Click on the Create Configuration button.
-
Add firebase_credentials key to parameter name (key) and select data type
JSON. Whatever JSON file you have copied, you have to paste it in the
Default value. After that Click the Save the Button