Geolocation does not work on android for ionic 3


#1

The geolocation native plugin does not work, I have tried all solutions and after reading https://stackoverflow.com/questions/46094678/ionic-2-ionic-3-how-to-get-current-location-of-a-device it seems like a bug.
I have checked the location settings and used the diagnostic plugins islocationenabled() which returns true. My code is at https://github.com/Leo-G/mapsNative/blob/master/src/pages/home/home.ts. The same code works fine on a web browser.

Below is the ionic info details,

@ionic/cli-utils : 1.18.0
ionic (Ionic CLI) : 3.18.0

global packages:

cordova (Cordova CLI) : 7.1.0

local packages:

@ionic/app-scripts : 3.1.2
Cordova Platforms  : android 6.3.0
Ionic Framework    : ionic-angular 3.9.2

System:

Android SDK Tools : 26.1.1
Node              : v8.9.0
npm               : 5.5.1
OS                : Windows 10

Environment Variables:

ANDROID_HOME : C:\Users\0\AppData\Local\Android\Sdk

Misc:

backend : pro

#2

Does Ionic offer Paid support?


#3

same problem with me :frowning:


#4

you found any thing???


#5

no :frowning: still search for solution :frowning: