title: How to solve Only secure origins are allowed
body: <p>I am using cordova geolocation plugin in Ionic app . 
  when i ran the app inside emulator i found this bug <strong>Only secure origins are allowed</strong> .
  hence was unable to get the geolocation of inside emulator .
  but using locahost it works fine probably localhost comes under secure origin.</p>
  
  <p>browser im using is chrome. 
  plugin <a href="https://ionicframework.com/docs/native/geolocation/" rel="nofollow noreferrer">https://ionicframework.com/docs/native/geolocation/</a> </p>