如何在Firebase中找到

如何在Firebase中找到

本文介绍了如何在Firebase中找到"SENDER ID"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在离子2中创建Push notification演示.我试图从firebase生成server keysender key.我已经按照此教程进行操作.但是我在Firebase project setting屏幕中找不到cloud messaging选项卡,如下图所示,并且没有Server keysender Id.

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.

我需要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. 转到 Firebase控制台
  2. 选择您的项目
  3. 单击左侧面板中Overview附近的Setting图标.
  4. 选择Project settings.
  5. 如果您已经将应用程序注册到项目中,请单击CLOUD MESSAGING选项卡
  6. 如果您尚未注册应用,请先在Overview标签中注册它,然后执行步骤5.
  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.

,您会得到Sender ID

这篇关于如何在Firebase中找到"SENDER ID"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 03:25