i put the next code in my app,i’m using cordova and ionic.
$scope.pos = navigator.geolocation.getCurrentPosition(onSuccess, onError, {
timeout: 8000,
maximumAge: 9000,
enableHighAccuracy: true
});
the problem is: when i use “ionic run” and install de debug.apk the device is working fine, but when:
-i signin the apk
-the apk is inactive, and i put the apk active again. the apk exits.
in the console, it does not throw me any error