I am working on Ionic App and want to fix issue for Geolocation Watch Position. I want to get data after every 1 minutes not after 5 sec. My code is as following,
var opti = { enableHighAccuracy: false, timeout:60000, maximumAge: 0 };
navigator.geolocation.watchPosition(success_loc, error_loc, opti);
I am using timeout 60000 for giving result after 1 minutes but it is giving result in 5 sec(default time). Need help to fix this problem.