Proximity Sensor stops playing audio
Hi,
I develop an app that plays audio while doing some other things with sensors, because the background mode to play audio its restrict to only play audio i tell the user to put the device in his pocket in order to mantain sensors access when the screens go off, but if i activate proximity sensor using an extension (using proximityMonitoringEnabled), the audio stops playing when the screen turns off.
I develop a similar app years ago an the behavoir its not like that, when the screen turns off the audio stills plays.
Am i missing something in the code?
Thanks in advance
