I created a mobile application with a corridor. This application uses the location of the GPS device. Now the problem is that the cordon geolocation plugin does not seem to work on other devices, especially on communication 7. See the sample function below.
navigator.geolocation.getCurrentPosition(function (pos) {
}, location_error, {timeout: 60000, enableHighAccuracy: true, maximumAge: 3600000});
I have tried many solutions, such as setting a timeout and high accuracy. And the strangest part is when I restart the device’s geolocation!
Does anyone have a solution for this or any alternative?
source
share