Redirecting to your app’s settings in react-native app
Feb 11, 2022
Ever faced a situation where you need to redirect the users to your app’s settings since they haven’t given a permission?
Previously it was a tedious process to achieve this, you needed to install couple of libraries and and handle it differently of Android and iOS.
Now it’s fairly straight forward, just use -
import { Linking } from 'react-native';Linking.openSettings();
and just like that you can redirect the users to your apps settings page, voilà!