Open Settings App on Android
Adrian Carolli
Use case: I want to have a button that says "Turn on bluetooth" when I detect the phone's bluetooth is turned off. The button would launch the settings app on both Android and iOS. Another option is to turn on the bluetooth automatically with this button (neither feature is currently supported). See screenshot for details.
Julian
https://github.com/rmrs/react-native-settings
Julian
Brent Vatne if there was one, would it make it into expo? I see a couple that could be used for Android, and iOS could be added easily as it's already possible with the Linking library.
Brent Vatne
Julian: perhaps -- indeed it should just depend on Linking and IntentLauncherAndroid so no additional native code required
Rishabh Pandey
Do add GPS Alert box too in open setting https://github.com/webyonet/react-native-android-location-services-dialog-box
Brent Vatne
Would be good to have a unified API for this across iOS and Android!