I tried this answer but it didn't work with Android.
How can I open Settings with Linking.openURL('setting-url-here')
React Native allows developers to build apps by spinning up JS threads that interpret JavaScript code, by making a native bridge between the app and the target platform. The bridge concept leverages the library and transfers the component's hierarchy to the mobile devices view.
Open the Android Settings from its Home screen shortcut On Android 12, swipe up or tap on the All apps button, and find the Settings app. If you tap and hold on it, then move your finger, you will see the Home screen appear.
You can use this library react-native-common-intents
React-native-Common-intents
to open settings you can call
RNIntents.openSettings();
Linking.openSettings()
Better late than never. For more info.
Stack overflow question and answer: React Native Open settings through Linking.openURL in IOS
ReactNative Docs: https://reactnative.dev/docs/linking#open-custom-settings
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With