I cannot get the permission dialog to open on IOS?

#1

permission isn’t granted.

componentWillMount() {

this._getLocationAsync();
console.log(1)
}
_getLocationAsync = async () => {
let { status } = await Permissions.getAsync(Permissions.LOCATION);
console.log(status)
if (status !== 'granted') {
   
   status = await Permissions.askAsync(Permissions.LOCATION);
  if (status !== 'granted') {

    this.setState({
      errorMessage: 'Permission to access location was denied',
    });
}
console.log(status)
let location = await Location.getCurrentPositionAsync({});
this.setState({ location });
}
}
#2

did you solved this?

#3

Yeah, you have to give expo permission