是否可以使用静默推送来唤醒APP并接听VOIP电话?
Is possible use silent push to wake up APP and get the VOIP call?
如果我的应用程序在后台运行,我可以使用静默推送来唤醒应用程序并接听 VOIP 电话吗?
我使用 "jpush" 到 post 静默推送,当我的设备与 Xcode 和 运行 APP 连接时可以使用。
如果我的设备没有运行 APP Xcode,我无法在后台接收到静默推送(只能在前台接收。)
是否可以使用静默推送唤醒APP并接听VOIP电话?
我是不是搞错了什么??
是的。如果您的应用程序进行 VoIP 呼叫,则可以使用 PushKit:
Overview
The PushKit framework sends specific types of notifications — such as VoIP invitations, [...] — directly to your app for processing. [...]
Unlike user notifications, which are supported by the UserNotifications framework, PushKit notifications are never presented to the user — they don't present badges, alerts, or sounds.
PushKit notifications offer the following advantages over user notifications:
- If your app isn't running, the system automatically launches it upon receiving the notification. [...] For more information, see Local and Remote Notification Programming Guide.
- Your app is given runtime to process the notification, even if it's running in the background.
- [...]
如果我的应用程序在后台运行,我可以使用静默推送来唤醒应用程序并接听 VOIP 电话吗?
我使用 "jpush" 到 post 静默推送,当我的设备与 Xcode 和 运行 APP 连接时可以使用。
如果我的设备没有运行 APP Xcode,我无法在后台接收到静默推送(只能在前台接收。)
是否可以使用静默推送唤醒APP并接听VOIP电话?
我是不是搞错了什么??
是的。如果您的应用程序进行 VoIP 呼叫,则可以使用 PushKit:
Overview
The PushKit framework sends specific types of notifications — such as VoIP invitations, [...] — directly to your app for processing. [...]
Unlike user notifications, which are supported by the UserNotifications framework, PushKit notifications are never presented to the user — they don't present badges, alerts, or sounds.
PushKit notifications offer the following advantages over user notifications:
- If your app isn't running, the system automatically launches it upon receiving the notification. [...] For more information, see Local and Remote Notification Programming Guide.
- Your app is given runtime to process the notification, even if it's running in the background.
- [...]