react-native-system-setting
react-native-system-setting copied to clipboard
switchWifiSilence and switchBluetoothSilence callbacks not being called
For some reason when i try using switchWifiSilence or switchBluetooth silence, the service is turned on but the callback is never called.
I believe this has to do with listenEvent only listening to the "EventEnterForeground" event which switchBluetoothSilence and switchWifiSilence never end up emitting.
Does the example work fine ?
SystemSetting.switchBluetoothSilence(() => {console.log("hey")}); The complete is not called here. The bluetooth is turned on again but the complete is not called. I did not get this message.