I'm trying to link with android os settings
page.
Going to Phone Dail
with Linking
is work.
Linking.openURL('tel: +959 XXXXXXXX');
Can I use Linking
to link with android os settings
page like android location settings
page?
Linking.openURL
can only open correctly formatted urls. There are no standardized urls for the android settings. You would have to write some native code to do this, and then build a React Native Module to trigger it.
Here is some example Android code:
public void openWifiSettings() {
Intent intent = new Intent(Intent.ACTION_WIFI_SETTINGS);
if (intent.resolveActivity(getPackageManager()) != null) {
startActivity(intent);
}
}
android native settings
? Are you trying to navigate from one section of your app to another, or to someplace on the phone OS?android native settings
isandroid os settings
page that say like @DagobertRenouf . let me edit my question.