I'm working on a VoIP iOS app based on WebRTC and Cordova platform. We make heavy use of CallKit API, which adds each call made with our app to phone's call history. When tapped on our call, iOS should run our application and pass call intent to it, and it used to work perfectly well. I didn't notice when it stopped working - probably after updating to iOS 10.
What I already have:
- In the .plist file:
<key>NSUserActivityTypes</key>
<array>
<string>INStartAudioCallIntent</string>
</array>
Call Intent extension. It works OK, when initiating calls with Siri, but doesn't run on tapping on call history record.
Implemented
(BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler
in the app's delegate. Again, it works good, when calling with Siri.
Does anybody have an idea what I am missing?
Thanks.