When I start my android app, it’s asking for permission. I agree and the app is crashing. Same with the cordova plugin. Any suggestions?
By the way: The browser gives me the coordinates.
if (navigator.connection.type == Connection.NONE) {
$ionicPopup.confirm({
title: "Internet is not working",
content: "Internet is not working on your device."
});
}
}
I’m having the same issue, and is not because to a resource not yet loaded as suggest @virender.
Looks like the app asks for geolocation permission, and when i grant the permission, the app crashes.