Android推送通知是否可靠? [英] Are Android push notifications reliable?

查看:116
本文介绍了Android推送通知是否可靠?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否可以使用推送通知消息而不是服务,换言之,推送通知传递是否完全可靠。我知道IOS不值得信任,但我不确定Google是否保证交付。所以,请赐教。

解决方案

不抱歉。您可以在Google官方文档中阅读标准的GCM推送通知( https://developers.google .com / cloud-messaging / concept-options )是一项尽力服务。我引用:
$ b

换句话说,GCM将保证尽最大努力为那些必须现在或从不提供的消息。



如果您正在寻找可靠的推送消息传送API,您可以尝试 Catapush 。我们使用XMPP协议(如Whatsapp一样)为设备添加自己的实时后台连接,从而能够在大多数紧急情况下更快速地传递消息。另外,我们还会跟踪发送的每个消息(发送,传送,读取,......)的实时状态,从而使您的系统能够实时做出反应。

I wonder if it's okay to use a push-notification message rather than a service, or in other words, if it is totally reliable the push notifications delivery. I know IOS is not trustable, but I am not sure if Google is guaranteeing the delivery. So, please enlighten me.

解决方案

Nope sorry. The standard GCM push notifications as you can read on Google’s official documentation ( https://developers.google.com/cloud-messaging/concept-options ) are a best effort service. I quote:

In other words, GCM will guarantee best effort for messages that must be delivered "now or never."

If you are looking for reliable push messages delivery API you can give Catapush a try. We add your own real time background connection with devices using XMPP protocol (as Whatsapp does) thus having the ability to deliver messages faster and under most critical situations. In addition we track real time status of each message sent (sent, delivered, read,..) enabling your system to react in real time.

这篇关于Android推送通知是否可靠?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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