Ionic geolocation Only secure origins are allowed error Ionic V3

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.

Are you using livereload flag?

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

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

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