datso / react-native-pjsip

A PJSIP module for React Native.
http://datso.github.io/react-native-pjsip
GNU General Public License v3.0
272 stars 229 forks source link

when make call or receive call, the proximity is enabled #159

Open chellongCoder opened 5 years ago

chellongCoder commented 5 years ago

when i use the library to implement calls, i see that the sensor is not enabled, the screen still turn on. i want the screen turn off when the device is near from the user

datso commented 5 years ago

I think that this functionality is out of scope of that library, you can control the sensor though different package though JS.