Minh Chu
Minh Chu

Reputation: 289

Open Android System Settings in React Native

I tried this answer but it didn't work with Android.

How can I open Settings with Linking.openURL('setting-url-here')

Upvotes: 10

Views: 10569

Answers (2)

unSensei
unSensei

Reputation: 131

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

Upvotes: 2

Wahdat Jan
Wahdat Jan

Reputation: 4156

You can use this library react-native-common-intents React-native-Common-intents

to open settings you can call

RNIntents.openSettings();

Upvotes: 1

Related Questions