Ionic geolocation Only secure origins are allowed error Ionic V3


#1

Hello everybody, I having issue to get current position with geolocation plugin, My Ionic version is V3, Thank you in advance for who can help me.


#2

Are you using livereload flag?

New security permissions don’t allow that as you need to run over https. Http is no longer allowed


#3

Thank you. That was exactly what I did. Remove flat livereload.


#4

hi i used geolocation plugin and workds fine with me.
what i did was to get the user location and display it to google map
their is a latest codes for both.
at first it crash but just a few tweak it solved