Geolocation taking very long to get location


Hello, in my Android device it takes very long to get my device’s location using the Geolocation plugin, my code is the following:

this.geolocation.getCurrentPosition({ enableHighAccuracy: true, timeout: 30000 })
.then(resp => { 
}).catch((error) => {

It doesn’t matter if turn the enableHighAccuracy to false (it never worked actually if I do it).

Most of times it times out or takes up to 10-20s to get the device’s location.

This is only happening in my smartphone, if I run it in the browser with ionic serve it gets the location super fast.

Anything I can do? Thanks.