Swift-我可以使用Pushkit,但不要打电话吗?
作为标题,我只想收到一个VoIP消息,然后做点什么。
但是,似乎有必要在DidreceiveIncomingPushwith中进行reportnewincomingcall,这将使呼叫者场景出现。
我可以在呼叫显示之前取消通话吗?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
否。
通常,来自推送通知的任何计算都应出于安全目的通知用户。与仅唤醒通知扩展的正常推动相比,Pushkit醒来了主要的计算应用程序,它确实具有更多的限制,例如,Callkit UI必须显示给用户。
默认情况下,对于任何推送通知,无论VoIP或其他任何内容,都必须向用户提供通知。来自 com.apple.developer.user Notifications.Filtering 功能。
结果,隐藏通知并显示上述功能的
callkit
将需要Apple的额外许可。但是,一种方法可以是一种无声的推动,但这仅限于。
No.
Generally, any computation from a push notification should inform the user for security purposes. As pushkit wakes up the main app for computation compared to the normal push which wakes only notification extension, it does have more restrictions, for example, callkit UI must be shown to the user.
By default, for any push notification regardless of VOIP or other, it must present a notification to the user. From apple doc, to suppress showing notifications when using pushkit you must have
com.apple.developer.user notifications.filtering
capabilities.As a result, hiding notifications and showing
callkit
with the above-mentioned capability will require extra permission from apple.However, one way can be a silent push, but that is limited to two or three per hour.