如何WhatsApp的iOS上的加密推送通知? [英] How can WhatsApp encrypt Push Notifications on iOS?

查看:731
本文介绍了如何WhatsApp的iOS上的加密推送通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

近日WhatsApp的集成了终端到终端的加密所有平台的信令协议

Recently WhatsApp integrated the Signal protocol for End-to-End Encryption for all platforms.

我与一个朋友尝试过了,它表示加密激活。
随着应用程序关闭和后台任务在iOS 8禁用,从我的朋友推送通知仍然显示该消息。

I tried it with a friend and it said that the encryption was activated. With the app closed and background tasks disabled on iOS 8, the push notifications from my friend still showed the message.

问:
WhatsApp的是否加密APNS消息?如果是的话,他们是如何显示的文本?是否有处理推送通知iOS上的方法?

Question: Does WhatsApp encrypt the APNS message? If yes, how do they display the text? Is there a method on iOS for processing push notifications?

在此先感谢!

推荐答案

WhatsApp的可使用VoIP背景模式PushKit用于解决该问题沿

WhatsApp could be using VoIP background mode along with PushKit for solving this problem.

推网络电话是:


  • 直接交付给应用程序。

  • 认为是高优先级的通知,并毫不拖延交付。

  • ,即使应用程序被用户强制退出交付。

有关详细信息,请参阅<一个href=\"https://developer.apple.com/library/ios/documentation/Performance/Conceptual/EnergyGuide-iOS/OptimizeVoIP.html#//apple_ref/doc/uid/TP40015243-CH30-SW1\"相对=nofollow> IP语音(VoIP)的最佳实践

For details refer to Voice Over IP (VoIP) Best Practices

在网络电话推加密的有效载荷被解密他们表现出了本地通知与解密的消息。

Once the encrypted payload of VoIP push is decrypted they show a "Local Notification" with the decrypted message.

有一个小问题,但,PushKit仅在iOS 8和更高版本。那么,如何在WhatsApp的做它的早期版本的iOS?
那么,事实并非如此。他们不会让你看到消息preVIEW在通知上的版本早些时候的iOS 8(验证它在iOS 7,看截图)

There is one small issue though, PushKit is available only on iOS 8 and later. So, how is Whatsapp doing it for earlier versions of iOS? Well, it isn’t. They don’t allow you to see message preview in notifications on versions earlier that iOS 8 (Verified it on iOS 7, see screenshot)

WhatsApp的设置中的iOS

这篇关于如何WhatsApp的iOS上的加密推送通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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