How can i find `SENDER ID` in firebase?

别来无恙 提交于 2020-05-25 18:40:04

问题


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,

  1. Go to Firebase Console
  2. Select your project
  3. Click on Setting icon near to Overview in left panel.
  4. Select Project settings.
  5. If you have already registered your app to project then click on CLOUD MESSAGING tab
  6. If you do not have registered you app then first register it from Overview tab 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!