setKeepScreenOn() does not keep screen on for iOS 13.1
setKeepScreenOn() does not keep screen on for iOS 13.1
First off, just wanted to say thank you for the awesome library!
I was testing with iOS 13.1 today to see if I could keep the iPhone screen from turning off when I enable speakerphone. Unfortunately, I tried setting the flag to enable=true, (InCallManager.setKeepScreenOn(true)) when I start with {media: 'audio'}, the screen turns off when a user gets close to the proximity sensor.
I noticed that the only method in the obj-c setKeepScreenOn is to enable or disable the idleTimerDisable. Would it be better to turn off the proximity sensor instead?
@spiside which version of react-native-incall-manager are you using?
3.2.6 (the latest version to date)