Location.getCurrentPositionAsync() takes to respond more than 10 secconds

  1. SDK Version: 45
  2. Platforms(Android/iOS/web/all): IOS
  3. 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.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.