react-native-system-setting
react-native-system-setting copied to clipboard
A library to access system setting, and change it easily. eg: volume, brightness, wifi
[After react-native v0.60, we have gained support for auto linking](https://reactnative.dev/docs/linking-libraries-ios). This means that packages just need to be installed through `npm` or `yarn` and don't need any additional setup. Before...
Catch unregister errors. `locationModeBR`, not `locationBR` for setting = null
I noticed that setVolume does not work when my iPhone (iOS 13.5) is connected to an airplay device.
Hi, I'm wondering if is there any solution to listen for brightness change. I want to save brightness each time the user changes it.
Hello there, I'm working on an app and cannot get the package to work RN version is 62.2 I added and linked the library correctly, but whenever I call the...
The code is :- this.listener = SystemSetting.addlistener( async (locationEnabled) =>{ if(!locationEnabled && !this.state.locationProcessing){ await this.setState({ locationProcessing:true }); console.log("Location is turned off in between"); await this.getLocationAccess(); this.setState({ locationProcessing:false }); } }...
Using SystemSetting.addVolumeListener, I'd like to only have this fire when there's been a manual volume button press. Is this possible to add in to the listener itself or would I...
Dear People of the library, The issue is very simple, in Android ( only Android, in IOS it works) the volume listener does not get triggered if the volume reached...