You can import a cloud enable project into Firebase. Basically similar, the end result will be a new key is generated. The steps for this are:
- Log into Firebase console
- https://console.firebase.google.com
- Go to Add project >>Add Firebase to your existing project (From the Project name)
- Select "Project Settings" from the gear menu
- Select the "CLOUD MESSAGING" Tab and use the server key.
Configuring push service on the dashboard.
Sample code
Sample code
For creating new firebase project
- https://documentation.onesignal.com/docs/generate-a-google-server-api-key
(Till steps 2)
Thanks.
No comments:
Post a Comment