- SDK Version: 45
- Platforms(Android/iOS/web/all): IOS
- Add the appropriate “Tag” based on what Expo library you have a question on.
Location - Expo Documentation
Version: 14.2.2
We are using code like below for fetching the current location. It works perfectly fine in Android. But in IOS it took more than 10 seconds to respond to the location.
let loc = await Location.getCurrentPositionAsync({});
if(loc && loc.coords){
let place = await Location.reverseGeocodeAsync({latitude: loc.coords.latitude,longitude: loc.coords.longitude});
}
Note: We are facing this issue only in Production, not development.