I am developing an application with Ionic v1 , I am also using the Cordova , Geolocation plugin. The problem is that when the application runs on Android ( Ionic Run Android ) the following error message appears:
Only secure origins are allowed (see: link )
When working on the Ionic Serve browser, I have no problem.