Geolocation not always responding


#1

In my login flow, when the user clicks the login button, i first call the geolocation.getCurrentPosition() method and then make the api call to login.

The problem im having is that, on both ios and android devices, sometimes the device never returns from getting the location.

Are there any best practices for using the geoloc?

(Im using Ionic3 and the @ionic-native/geolocation plugin)