Hello there, i’m new using IONIC, but i believe to know a couple of things about it, however i can’t get Geolocation to work properly in Android device. Really i can´t understand Ionic Documentation or maybe i dont how to search, im moving from Phonegap where to get Geolocation working properly it’s very very simple, so i think may be i’m making something very very vey bad, if you want to save my life (literaly) please take a look on to this code:
This is my /src/app/app.components.ts file
I ran this command
ionic plugin add cordova-plugin-geolocation
This is my /plattforms/android/AndroidManifest.xml file
I have even tested calling Geolocation functions from my home.ts file
But same results.
Same results without enableHighAccuracy param
I really don’t what else can i do, or where can i take a look, thank you for your time
This looks like the relevant part of my home.ts file I am calling the api Geolocation from this file instead of calling it in the file app.components.ts
I’ve tried enableHighAccuracy true and false even I’ve tried without the enableHighAccuracy parameter. Same result, no response from the call to Geolocation.getCurrentPosition () there’s is no alert, there’s no error, there’s nothing, it simply does not respond.