I'm trying to redirect user to the native Maps app on Android in Cordova. Here's a related answer that I found which is supposed to work on Android. However, when I use it in my Cordova app, ie,
location.href = "geo:" + lat +"," + lon;
it simply alerts,
Application Error
net::ERR_UNKNOWN_URL_SCHEME (geo:numbers here,number here)
What is causing this error and what would be a possible solution to this issue?