Hi, Everyone.
I have a question why Cordova geolocation work on desktop browser, but not in native android and mobile browser android?
after i am adding "meteor add cordova:org.apache.cord...@0.3.9"
then using this simple code:
Meteor.startup(function() {
navigator.geolocation.getCurrentPosition(function(position) {
alert(position.coords.latitude)
});
});
it's working perfectly in my desktop browser. But when I am testing in android emulator and accessing from real device mobile browser, the latitude/geolocation functionality doesn't work.
Please help. Thanks