问题
I am creating Push notification demo in ionic 2. I have tried to generate server key and sender key from firebase. i have follow this tutorial. but I can not found cloud messaging tab in my firebase project setting screen as shown bellow image and there is no Server key and sender Id.
I need SENDER ID for create push notification in my app as bellow,
cordova plugin add phonegap-plugin-push --variable SENDER_ID=12341234 --save
回答1:
Here is the steps,
- Go to Firebase Console
- Select your project
- Click on
Settingicon near toOverviewin left panel. - Select
Project settings. - If you have already registered your app to project then click on
CLOUD MESSAGINGtab - If you do not have registered you app then first register it from
Overviewtab and follow step 5.
and you'll get Sender ID
回答2:
Login firebase account go to project Setting. Here you can get Sender Id
来源:https://stackoverflow.com/questions/43292516/how-can-i-find-sender-id-in-firebase