推送通知无法正常工作 [英] Pushnotification not working properly

查看:81
本文介绍了推送通知无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好所有我遵循这个示例我能够生成注册令牌,但我是无法在手机中收到通知,任何人都可以帮我解决这个问题吗?

Hello all I am following this example I am able to generate registration token, but I am not able to get notification in my phone, can any one help me with this?

当我尝试使用 http://connect-survey.com/APK/bans_push/ 我现在收到此错误消息:

When I try to check using this http://connect-survey.com/APK/bans_push/ I'm getting this error now:


{multicast_id:6837230096397340828,success:0,failure:1,canonical_ids:0,results:[{error:MismatchSenderId }]}

{"multicast_id":6837230096397340828,"success":0,"failure":1,"canonical_ids":0,"results":[{"error":"MismatchSenderId"}]}


推荐答案

请注意,项目ID通常显示在网址/控制台信息中心中)和实际的12位数项目编号。

Notice that there is a difference between the "Project ID" (that usually appears in the url/console dashboard) and the actual 12-digit "Project Number".

确认您使用的是项目编号可以在项目设置下的google控制台中找到。

Verify you're using the Project Number which can be found in the google console under project settings.

查看此截图

Take a look at this screenshot

这篇关于推送通知无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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