I have upgraded Monaca Localkit to 2.1.3.
During Monaca Localkit Preview, when I call the
navigator.geolocation.getCurrentPosition(successFunc, errorFunc, geoOptions)
function, I always get the following error.
"Network location provider at ‘https://www.googleapis.com/’ : Returned error code 400
It used to work in the previous Monaca Localkit version (I forgot the version #) and it works when I run the code with a regular browser such as Chrome.
(I am running the code not on a phone but on my desktop Mac)
I thought perhaps I need to specify a Google API Key which I have tried but still get an error.
Is there an issue with Monaca Localkit using geolocation?
Is there a work around??
Thanks.