在Web中实施firebase云消息传递时出错

时间:2018-01-17 11:36:01

标签: javascript html5 web firebase-cloud-messaging

我正在开发一个Web应用程序,我正在使用firebase云消息传递(FCM)向用户发送通知,我已经创建了一个Android应用程序,我能够从firebase接收推送消息,但是当我实现了同样适用于Web应用程序,它无法正常工作。我收到一条错误消息"检索令牌时发生错误"     我按照这里提到的所有步骤     https://firebase.google.com/docs/cloud-messaging/js/client

I have some doubts.

* Whether it is possible to receive notification in http instead on https
* is there any tool to receive push message, so that i cam assume that the server part is working properly

0 个答案:

没有答案