【发布时间】:2013-12-06 16:27:31
【问题描述】:
我正在使用 Urban Airship,我的推送在 iOS 上运行良好,但在 Android 上出现错误。
在城市飞艇网站的错误控制台中,我有以下消息:
Received push with invalid authorization on platform GCM
我的设备正确显示在 APID 部分中,并且我验证了此地址中的所有步骤:https://support.urbanairship.com/customer/portal/articles/823114-gcm-troubleshooting-guide。
此代码正确显示 APID:
PushManager.shared().getAPID()
我的属性似乎不错,我验证了:
gcmSender = 123456789122
transport = gcm
developmentAppKey = APP KEY taken on the urban airship site
developmentAppSecret = APP KEY Secret taken on the urban airship site
inProduction = false
我还在城市飞艇站点验证了我的 GCM,从 cloud.google.com 放入了正确的 Api 密钥和包。
有什么我忘记了吗?
【问题讨论】:
标签: android push-notification urbanairship.com