Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use UIRemoteNotificationTypeVoIP?

Tags:

ios

ios8

voip

sip

From documentation for setKeepAliveTimeout:handler: method of UIApplication:

In iOS 8 and later, voice-over-IP (VoIP) apps register for UIRemoteNotificationTypeVoIP push notifications instead of using this method. Using push notifications eliminates the need for a timeout handler to check in with the VoIP service. Instead, when a calls arrives for the user, the VoIP service sends a VoIP push notification to the user’s device. Upon receiving this notification, the device launches or wakes the app as needed so that it can handle the incoming call.

But I can't find anything about it. Is this a thing?

like image 448
aterite Avatar asked Oct 28 '14 11:10

aterite


People also ask

What is VoIP notification?

Answer: VoIP push notification is a background push that generates no alert or sound, and used to wake up an app and pass it the information about the incoming call. The app should display a local notification to users, and the call is established when the user swipes the notification.

What is VoIP notification iOS?

VoIP notifications are background messages that don't generate alerts or sounds. These notifications are used to wake up apps and pass across information about incoming calls. With VoIP, mobile apps let users send and receive calls on their devices, using the app interface rather than the default phone interface.


1 Answers

If someone is also confused by this documentation, they probably mean PushKit Framework and PKPushTypeVoIP presented in WWDC 2014, Writing Energy Efficient Code, Part 2

like image 103
aterite Avatar answered Sep 30 '22 19:09

aterite