Firebase 消息传递,在哪里获取服务器密钥? [英] Firebase messaging, where to get Server Key?

查看:18
本文介绍了Firebase 消息传递,在哪里获取服务器密钥?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Firebase 允许我们通过发出 POST 请求通过我们自己的应用程序发送通知消息.

  • 点击项目设置.
  • 单击 云消息传递 选项卡.
  • 密钥就在服务器密钥下.
  • Firebase allows us to send notification messages via our own application by making POST request.

    This tutorial, gives to us instructions how to make this request. However, there is Authorization field in header where I must to place my own Server key.

    Where I can get this Server key? There are no instructions for this.

    解决方案

    Solution:

    1. Click the Settings (Cog wheel) icon next to your project name at the top of the new Firebase Console, as per screenshot below:
    2. Click Project settings.
    3. Click on the Cloud Messaging tab.
    4. The key is right under Server Key.

    这篇关于Firebase 消息传递,在哪里获取服务器密钥?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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