Firebase 消息传递,从哪里获取服务器密钥?

编程入门 行业动态 更新时间:2024-10-20 20:40:58
本文介绍了Firebase 消息传递,从哪里获取服务器密钥?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

  • 点击项目设置.
  • 点击云消息传递标签.
  • 密钥就在 Server Key 下.
  • 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:

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

    Firebase 消息传递,从哪里获取服务器密钥?

    本文发布于:2023-11-26 18:20:21,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1634667.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:密钥   消息   服务器   从哪里   Firebase

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!