Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49223

Removing adding android platform broke navigator.geolocation.GetCurrentPosition

$
0
0

@pinne65 wrote:

In order to combat a problem in the build process (Could not GET 'https://repo1.maven.org/maven2/com/android/tools/build/gradle/maven-metadata.xml' (peer not authenticated)),

I removed (ionic platform remove android) the android platform and added it back in again (ionic platform add android).

After that I was able to successfully rebuild the project. But it seems like removing and re-adding the android platform somehow broke navigator.geolocation.GetCurrentPosition. When called it immediately returns a POSITION_UNAVAILABLE (2) code.

Anyone knows what might be going on?

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>