Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49164

Geolocation not possible due to "Only secure origins are allowed (see: https://goo.gl/Y0ZkNV)"

$
0
0

@code_poet wrote:

Hi everyone,

I'm creating an app that needs to access the GPS location of the user on some occasions. I followed this tutorial, including the meta tag and permissions, but still get the following error:

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

I searched for the error message and it shows that this error occurs in chrome when the website is not served via HTTPS. Since I get the same error in the emulator and when debugging on the phone, I am not sure how to resolve this error when dealing with Ionic. I use Ionic 1.3.1.

Any help or hints are greatly appreciated, thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49164

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>