From version < 46.2 >
edited by Simon Morlat
on 2020/06/25 11:52
To version < 46.3 >
edited by Simon Morlat
on 2020/06/25 11:57
< >
Change comment: (Autosaved)

Summary

Details

Page properties
Content
... ... @@ -123,17 +123,21 @@
123 123  The table below summarizes the technical solutions offered to advertise incoming calls.
124 124  
125 125  |=Use case|=Push notification type|=Solution
126 -|App showing calls with Callkit, with access to internet.|Pushkit|Integrate CallKit into your application according to the guidelines provided in the section "Callkit integration" of this document.
127 -|App showing calls with Callkit, in an isolated network.|No push notification at all.|(((
128 -Use UIApplication's [[keepAliveTimeout>>https://developer.apple.com/documentation/uikit/uiapplication/1622989-setkeepalivetimeout]] and [[background sockets>>https://developer.apple.com/documentation/foundation/nsstreamnetworkservicetypevoip?language=objc]]. Use Callkit without Pushkit.
126 +|App showing calls with **Callkit**, with access to internet.|[[Pushkit>>https://developer.apple.com/documentation/pushkit]]|Integrate CallKit into your application according to the guidelines provided in the section "Callkit integration" of this document.
127 +|App showing calls with **Callkit**, in an isolated network.|No push notification at all.|(((
128 +Use UIApplication's [[keepAliveTimeout>>https://developer.apple.com/documentation/uikit/uiapplication/1622989-setkeepalivetimeout]] to trigger periodic calls to [[Core.refreshRegisters()>>https://www.linphone.org/snapshots/docs/liblinphone/swift/Classes/Core.html#/s:10linphonesw4CoreC16refreshRegistersyyF]] and [[background sockets>>https://developer.apple.com/documentation/foundation/nsstreamnetworkservicetypevoip?language=objc]]. Use Callkit in your app, but without Pushkit. Liblinphone by default attempts to activate background sockets.
129 129  
130 -Using this solution requires a special authorization from Apple. The app must have its main usage without connection to the internet.
130 +**Using this solution requires a special authorization from Apple. The app must have its main usage done without connection to the internet.**
131 131  )))
132 -| | |
132 +|(((
133 +App not showing calls with callkit.
133 133  
135 +This is the case where using the Callkit interface is not adapted
136 +)))| |
134 134  
135 135  
136 136  
140 +
137 137  == CallKit Integration ==
138 138  
139 139  Starting from linphone-sdk >= 4.3, **Callkit** must be integrated in the following way: