I use this code to get user permission in android
async componentWillMount() {
await PermissionsAndroid.request(PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION);
}
How to use this for ios
?
This library used only with android , Use Third party library Like : https://github.com/yonahforst/react-native-permissions