What is your app actually doing when it entered the background? Do you have a CallKit call active? Does your app have the "audio" background category (as well as "voip"")? It should have both and I've seen leaving "audio" off cause some odd failures. Were you expecting your app to suspend or should it have stayed awake?
Yes, my app has ‘audio’, ‘voip’ background mode enabled. The app was not playing audio when the it was pushed to background.
The expectation for the app in background is, app may or may not be awake. But when the app is supposed to join a voip call, app receives voip apns notification, which wakes up the app, app connects to our server to fetch audio and play it.
Note: The issue is happening only in a few devices, where we checked, ‘Fast App Termination’ is NOT enabled.
Another info I would like to give is, the app has ‘push to talk’ background mode also enabled. Need your thoughts an app supporting both ‘voip’ and ‘push-to-talk’ background mode enabled.
Post
Replies
Boosts
Views
Activity
I have been facing this issue in Xcode 15. Restarting phone, xcode did not help. Then I noticed the 'AppStore' profile was selected for 'Code signing' - Debug mode . Selecting the Development profile solved the issue for me.
Hi,
Can you please post the sample code of using ptt framework ? and steps on the server side followed to get ptt notification