Android - Geolocation : Only secure origins are allowed


#1

Hello,

I’m using the “cordova-plugin-geolocation”, everything is OK on iOS but on Android (ionic run android --device -c -l) I receive this following error message :

“Only secure origins are allowed (see: https://goo.gl/Y0ZkNV).”

Is it because i’m running the reload server in http ?

Running live reload server: http://192.168.1.12:35729
Watching: www//*, !www/lib//*
√ Running dev server: http://192.168.1.12:8100

What’s the solution please ?

Thank you!


Geolocation is not working on android
#2

+1 Same here, live reload had been broken for a while


#3

any clue about this?


#4

Take a closer Look here