【问题标题】:Google cloud messaging using Push sharp使用 Push sharp 的 Google 云消息传递
【发布时间】:2013-12-31 00:21:59
【问题描述】:

我正在使用https://github.com/Redth/PushSharp

使用 GCM 注册工作正常,但如果我取消注册,设备仍会收到推送通知。

我所做的只是从https://github.com/Redth/PushSharp 下载了push sharp 源,并按照示例解决方案中的建议替换了我的项目ID。

是否有熟悉 GCM 的人可以建议他们是否有类似的经历,即在取消注册后,他们仍然会收到来自 Google 的推送通知,并提出解决方法/修复建议。

谢谢

【问题讨论】:

    标签: android xamarin.android google-cloud-messaging pushsharp


    【解决方案1】:

    您的问题有两种解决方案:

    1. 在您的服务器数据库中为该设备取消注册标记注册为 false。或者,
    2. 从您的应用中取消注册广播接收器。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-05-22
      • 1970-01-01
      • 1970-01-01
      • 2015-10-21
      • 2016-04-19
      • 1970-01-01
      相关资源
      最近更新 更多