[quote='878946022, DTS Engineer, /thread/817976?answerId=878946022#878946022']
The ACTUAL enforcement mechanism is a second check in callservicesd that happens a few seconds (~7s) after the push is delivered to your app.
[/quote]
If I display CallKit immediately after receiving the callback, and then the function returns, but the call ends within 7 seconds, will the second check be considered a misuse?
[quote='878946022, DTS Engineer, /thread/817976?answerId=878946022#878946022']
First off, my major question would be why are you doing this?
[/quote]
We did this for two reasons: 1.Using VoIP + CallKit ensures call arrival rates while allowing users to easily answer calls from the lock screen. 2. Keeping the custom in-app call UI in the foreground and disabling CallKit gives users the ability to switch network nodes, improving call quality when the network is poor.
But now I understand, we can keep both CallKit and the custom in-app call UI. The custom in-app call UI provides network node switching capabilities, while CallKit provides call control capabilities, right?
[quote='878946022, DTS Engineer, /thread/817976?answerId=878946022#878946022']
Yes, it should reset every ~24 hours. However, keep in mind that ALL of these issues should be treated as failures in your app you need to fix. There's no reason a properly implemented VoIP app should EVER crash for failing to report a call.
[/quote]
However, several of our users have reported that they haven't received any VoIP calls in the background for over six months, and the VoIP restrictions haven't been reset after 24 hours. What could be the reason for this? (These users don't make too many calls, only 1-2 per week.)
Topic:
App & System Services
SubTopic:
Notifications
Tags: