0

我知道它适用于 Android,但如果他们也将消息发送到 iPhone,我找不到任何信息。谷歌一直在让他们的一些新的移动功能,比如他们最近宣布的 Play 游戏服务,跨平台兼容。我猜这是一厢情愿的想法,但我无法找到明确的“不”。

后续问题:谁能想到一个允许 GCMS 发送到 iPhone 的黑客?

4

3 回答 3

3

答案是肯定的,您可以使用 Google Cloud Messaging API 与 iOS 设备进行通信,但这是一个相当复杂的过程。您可以阅读https://cloud.google.com/resources/articles/ios-push-notifications上的官方文档

问候

于 2013-09-11T06:55:48.450 回答
0

Unless there is a definitive "yes" that says it does support iOS, then it may as well be a definitive "no" Since GCM has a client component, there is no iOS support

于 2013-07-15T21:22:28.213 回答
0

如果要向 Android 和 iOS 客户端发送推送通知,则需要同时使用 GCM 和 iOS 推送服务。为此,您还需要区分接收器正在运行哪个操作系统,并将通知发送到正确的服务器。

在我的项目中,Android 设备使用版本 ID X.Ya 在我的应用服务器上注册,而 iOS 设备通过版本 ID 末尾没有 a 来识别。

无论如何,您将需要一个 3rd 方服务器来执行此操作。

于 2013-08-25T15:36:46.190 回答