You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/05/28 09:41:12 UTC

[GitHub] [cordova-plugin-geolocation] MrFragStealer commented on issue #148: Geolocation - Error getting location Only secure origins are allowed

MrFragStealer commented on issue #148: Geolocation - Error getting location Only secure origins are allowed
URL: https://github.com/apache/cordova-plugin-geolocation/issues/148#issuecomment-496443702
 
 
   Im having the same issue when I build an android app and run it on a real device:
   ionic cordova build android --prod
   Error also happens if I build a release apk and sign it in Android studio.
   
   The app's origin is http://myapp (I changed it from the default http://localhost)
   From the ionic docs https://ionicframework.com/docs/faq/cors it seems on android the origin is always http://
   
   #123 did not help.
   Is it possible to change the origin or what am I missing? Did anybody found a workaround?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org