You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/08/14 00:39:40 UTC
[GitHub] [cordova-plugin-geolocation] breautek commented on issue #120: When getting location does'nt return anything or return empty error with a timeout (Android Oreo)
breautek commented on issue #120:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/120#issuecomment-673777109
`Error` objects are weird, and messages are not printed out when you simply console log the message. Their properties behave as if they are on the prototype.
You need to use `error.message` to see the actual error message as stated at https://github.com/apache/cordova-plugin-geolocation/issues/120#issuecomment-440980371
> Only secure origins are allowed (see: https://goo.gl/Y0ZkNV).
If you're using the ionic webview, you must use `https` [scheme](https://github.com/ionic-team/cordova-plugin-ionic-webview#scheme)
----------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org