我有一个实时的应用程序,工作正常,工作流程是
有人点击call from web -> voip push被发送到iOS device ->,它显示callkit振铃ui-> user accept the call。
但现在,无论是直播应用程序,还是新发布的应用程序,都没有获得voip推送。并且电话中未显示来电。
我试图从Pusher发送voip推送,但它给我的错误是“无法读取:读取连接关闭”
Voip推送证书有效期至10月21日。
最近,苹果改变了处理VoIP通知的方式。现在,它们强制您在同一个run循环中使用CallKit,以避免丢弃通知。我得到的痕迹是这个
Apps receving VoIP pushes must post an incoming call (via CallKit or IncomingCallNotifications) in the same run loop as pushRegistry:didReceiveIncomingPushWithPayload:forType:[withCompletionHandler:] without delay.
当您三次收到此警告时,系统将“将您的
在升级到iOS测试版13后,我注意到一件令人不快的事情:我的应用程序有时会在传入的VoIP推送时崩溃。
在崩溃报告中,我看到了以下内容:
iOS 13 Killing app because it never posted an incoming call to the system after receiving a PushKit VoIP callback
Fatal Exception: NSInternalInconsistencyException
0 CoreFoundation 0x1af21b9f0 __exceptionPreproce
我想使用解析器发送VoIP push notifications,但解析器目前似乎不支持它(我尝试添加VoIP推送通知证书,就像普通的推送通知证书一样,但解析返回错误
Unsupported certificate type. Common Name (CN) must contain one of: Apple Production IOS Push Services, Apple Development IOS Push Services, Pass Type ID, Apple Development Mac Push Services, Apple Production Mac Pus