I am developing hybrid mobile application using cordova for android.I want to get the current location from the device for the i am using the geolocation plugin in cordova.But when after calling the
navigator.geolocation.getCurrentPosition(onSuccess, onError);
it is always going to onError callback and showing timeout error.if i am giving timeout option
If i am not giving the timout option..the timeout error is not showing and the output also not coming please give some solution for this.