Firebase 消息传递,在哪里获取服务器密钥? [英] Firebase messaging, where to get Server Key?
本文介绍了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:
- 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 消息传递,在哪里获取服务器密钥?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文