{"action":"created","issue":{"url":"https://api.github.com/repos/BlueBiteLLC/service-geolocate-lite-js/issues/3","repository_url":"https://api.github.com/repos/BlueBiteLLC/service-geolocate-lite-js","labels_url":"https://api.github.com/repos/BlueBiteLLC/service-geolocate-lite-js/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/BlueBiteLLC/service-geolocate-lite-js/issues/3/comments","events_url":"https://api.github.com/repos/BlueBiteLLC/service-geolocate-lite-js/issues/3/events","html_url":"https://github.com/BlueBiteLLC/service-geolocate-lite-js/issues/3","id":160458692,"number":3,"title":"getCurrentPosition() and watchPosition() are deprecated on insecure origins.","user":{"login":"wokster","id":5597609,"avatar_url":"https://avatars.githubusercontent.com/u/5597609?v=3","gravatar_id":"","url":"https://api.github.com/users/wokster","html_url":"https://github.com/wokster","followers_url":"https://api.github.com/users/wokster/followers","following_url":"https://api.github.com/users/wokster/following{/other_user}","gists_url":"https://api.github.com/users/wokster/gists{/gist_id}","starred_url":"https://api.github.com/users/wokster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wokster/subscriptions","organizations_url":"https://api.github.com/users/wokster/orgs","repos_url":"https://api.github.com/users/wokster/repos","events_url":"https://api.github.com/users/wokster/events{/privacy}","received_events_url":"https://api.github.com/users/wokster/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-15T15:55:55Z","updated_at":"2016-06-15T16:54:21Z","closed_at":"2016-06-15T16:54:21Z","body":"> getCurrentPosition() and watchPosition() are deprecated on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.\r\n\r\ncan you fix it?"},"comment":{"url":"https://api.github.com/repos/BlueBiteLLC/service-geolocate-lite-js/issues/comments/226249732","html_url":"https://github.com/BlueBiteLLC/service-geolocate-lite-js/issues/3#issuecomment-226249732","issue_url":"https://api.github.com/repos/BlueBiteLLC/service-geolocate-lite-js/issues/3","id":226249732,"user":{"login":"matt-oconnell","id":8006041,"avatar_url":"https://avatars.githubusercontent.com/u/8006041?v=3","gravatar_id":"","url":"https://api.github.com/users/matt-oconnell","html_url":"https://github.com/matt-oconnell","followers_url":"https://api.github.com/users/matt-oconnell/followers","following_url":"https://api.github.com/users/matt-oconnell/following{/other_user}","gists_url":"https://api.github.com/users/matt-oconnell/gists{/gist_id}","starred_url":"https://api.github.com/users/matt-oconnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matt-oconnell/subscriptions","organizations_url":"https://api.github.com/users/matt-oconnell/orgs","repos_url":"https://api.github.com/users/matt-oconnell/repos","events_url":"https://api.github.com/users/matt-oconnell/events{/privacy}","received_events_url":"https://api.github.com/users/matt-oconnell/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T16:54:21Z","updated_at":"2016-06-15T16:54:21Z","body":"Unfortunately this is due to a change in Chrome's geolocation API where they have recently limited geolocation to 'only be accessible on \"secure origins\" (such as HTTPS.)' See: [Link](https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins).\r\n\r\nThe only way around this is to host a site on `https` or run chrome with flags (i.e. `chrome --unsafely-treat-insecure-origin-as-secure=\"http://example.com\"`)\r\n\r\nI'll add a note about this in the docs."}}
{"actor":{"display_login":"matt-oconnell"}}