如何在 Firebase 中找到“SENDER ID"? [英] How can i find `SENDER ID` in firebase?

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

问题描述

我正在 ionic 2 中创建 Push notification 演示.我尝试从 firebase 生成 server keysender key.我已遵循此

我需要 SENDER ID 在我的应用程序中创建推送通知,如下所示,

cordova 插件添加 phonegap-plugin-push --variable SENDER_ID=12341234 --save

解决方案

步骤如下,

  1. 转到 Firebase 控制台
  2. 选择您的项目
  3. 点击左侧面板中Overview附近的Setting图标.
  4. 选择项目设置.
  5. 如果您已经将您的应用注册到项目,请点击 CLOUD MESSAGING 选项卡
  6. 如果您尚未注册您的应用,请先从 Overview 选项卡中注册它,然后按照步骤 5 进行操作.

你会得到发件人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.

I need SENDER ID for create push notification in my app as bellow,

cordova plugin add phonegap-plugin-push --variable SENDER_ID=12341234 --save

解决方案

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

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆