简体   繁体   English

如何实用的iOS Push通知

[英]How Practical iOS Push notification

My understanding is that iOS Push notification have limitation: 我的理解是iOS Push通知有局限性:

  • Do not guarantee delivery. 不保证交货。
  • And there might be delay in receving these notification. 接收这些通知可能会有所延迟。

Considering these limitation, I was thinking that application such as WhatsApp messenger will not be practical. 考虑到这些限制,我认为像WhatsApp Messenger这样的应用程序将不实用。 But it seems iOS Push notification is not bad. 但似乎iOS Push通知还不错。 Hence, My question is: 因此,我的问题是:

  • In practice, how reliable iOS Push notification , for example, 99%? 实际上,iOS Push通知的可靠性如何,例如99%?
  • Usually, how long notification delivery it takes , for example, < 1 minute? 通常,通知传递需要多长时间,例如,不到1分钟?

Thanks in advance 提前致谢

Generally it is reliable, in my experience (I have written 5 apps using push over the past 4 years) they get delivered > 99% of the time and within just a several seconds. 通常来说,它是可靠的,根据我的经验(在过去的4年中,我使用push编写了5个应用),它们在短短几秒钟内的交付率> 99%。 Note that there are serious issues though with background push in iOS8. 请注意,尽管iOS8中的背景推送功能存在严重问题。 But if you are just using foreground push its reliable though not 100% guaranteed of course. 但是,如果您仅使用前景推,则当然不能保证100%保证其可靠。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM