Ionic / Cordova Geolocation / Google Maps API Android

Hi, I’m developing a demo Android app to test Ionic. I used Cordova Geolocation and Google maps API (not angular google maps) with an android key. App looks OK on Mac’s browser but seems not to be working (everything works ok but google map is not showing up) when deployed to a device (Lenovo Tablet).

Chrome Dev Tools show the following message:
PositionError {message: “Timeout expired”, code: 3, PERMISSION_DENIED: 1, POSITION_UNAVAILABLE: 2, TIMEOUT: 3}

I’ve tried other demos and even those using angular google maps keep showing no map and same error.

Any help?

Have you enabled “Location” or GPS into device ?

1 Like

Thax mate…that did the trick!