utils.getCurrentPosition is giving the wrong value

return(utils.getCurrentPosition()) is not giving my correct location, even on refreshing.
Is there some other method to solve this?

1 Like

Hi @Abhay_Saini , can you provide more information about what it's returning?

utils.getCurrentPosition() is dependent on location access having been granted to the application, and the machine having the ability to provide geolocation.

Hey @Abhay_Saini

You have to enable the location and allow it


4 Likes