linphone-tutorials/ios/swift/4-CallKitTutorial
2023-06-14 05:54:25 +02:00
..
CallKitTutorial Improve CallKit tutorial, that was missing important information. 2023-06-14 05:54:25 +02:00
CallKitTutorial.xcodeproj Add swift tutorials for basic call, voip push and chat features with SDK 5.0 2021-09-14 15:04:30 +02:00
Podfile Add tutorial for remote notification management through notification service app extension, and update pod files 2021-11-04 14:08:35 +01:00
README.md Add swift tutorials for basic call, voip push and chat features with SDK 5.0 2021-09-14 15:04:30 +02:00

Push notifications tutorial

On mobile devices (Android & iOS), you probably want your app to be reachable even if it's not in the foreground.

To do that you need it to be able to receive push notifications from your SIP proxy, and in this tutorial, using Apple Push Notification Service, you'll learn how to simply send the device push information to your server.

Apple will also require you to use their CallKit API when you receive a push notification, you must always notify CallKit when you receive a VOIP Push or your app will be terminated. If you use the "Core.pushEnabled=true" settings, as is done in this app, most of this work is done in the sdk and you only require to notify an incoming call when your Core Delegate notifies you of a new call.

Compared to the previous tutorials, some changes have been required in CallKitTutorial.xcodeproj in order to enable Push Notifications and BackGround Modes (Voice Over IP) in the capabilities of your project.