Expo - How do I open system settings on android platform

Viewed 1821
  const url = platform === 'ios' ? 'app-settings:' : 'some-android-system-setting-url'
  Linking.canOpenURL(url).then(supported => {
    if (!supported) {
      console.log('Can\'t handle url: ' + url);
    } else {
      return Linking.openURL(url);
    }
  }).catch(err => console.error('An error occurred', err));

I am using Expo to develop a project. I called the function above, it is working on IOS, while, it seems does not support Android. I checked some questions, some people said I need to create native modules, but Expo also said, it only supports pure JS. Anyone can help me with that? Thank you.

1 Answers
Related