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!