Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Geolocation plugin doesn't work on unsecured origin

$
0
0

@hassan29 wrote:

I am trying to use the geolocation plugin to get coordinates. And it keeps giving me a location error message with this message when i serve the app locally

getCurrentPosition() and watchPosition() are deprecated on insecure origins, and support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.

Does anyone know why this is happening?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles