how to disable Proximity in voice call
Hi All
i wonder if Proximity can be disable for voice calls, as when the screen goes off, the socket get disconnected by ios, as ios kill background activity
any help would be great
thanks advance
Did you find any solution ?
I did by changing the native code, but hoping to have a better solution though, the thing is the screen goes off then my socket connection gets cut off, so that's the reason I need it to be disable, not sure if anyone else experience that, if so what's the solution to go around that
how you disable proximity
how you disable proximity
Change the line in the native code to no instead of yes for the proximity
how you disable proximity
Change the line in the native code to no instead of yes for the proximity
i disable this in ios. but not working on some android phones.
how you disable proximity
Change the line in the native code to no instead of yes for the proximity
i disable this in ios. but not working on some android phones.
android u will have to do the same thing in the android native code, I haven't done android yet
you can use InCallManager.stopProximitySensor()
InCallManager.stopProximitySensor() seems not to stop the proximity sensor.
Any suggestions?
I am using with expo in the managed flow, so not able to reach to the native code.
Edit: Tried this workaround:
setTimeout(() => {
InCallManager.stopProximitySensor();
}, 10000);
Edit 2: Unfortunately the workaround is not working. Any comments?