【问题标题】:GoogleCloudMessaging withou play services没有播放服务的 Google Cloud Messaging
【发布时间】:2013-09-16 12:21:20
【问题描述】:

Urban Airship的帮助下,我在我的应用程序中使用Google Cloud Messaging

Urban Airship 正在向 GCM 注册,而我的代码正在接收 GCM 消息。

我的问题是,如果设备上没有安装 Google play 服务,我的应用和通知会运行吗?

如您所见,我的应用可以运行,但我担心未来会出现问题。

【问题讨论】:

    标签: android notifications google-play-services urbanairship.com


    【解决方案1】:

    您的设备上必须装有 Google Play 服务,您才能通过 Urban Airship 接收通知,后者在后台使用 GCM。

    如果这是一个问题,请考虑替代推送网关,例如不依赖 GCM / Google Play 服务的 Pushy (https://pushy.me/),建立自己的连接来接收推送通知。

    全面披露 - 我是 Pushy 的创始人兼首席执行官。

    【讨论】:

      猜你喜欢
      • 2014-03-02
      • 2016-05-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-08-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多