Cannot get current laitude longitude from some devices


#1

I use geolocation plugin to get current latitude longitude but I cannot get it from some devices anyone knows what the issue, please help
my code is

this.geolocation.getCurrentPosition().then((position) => {
console.log("global location: " + position.coords.latitude);
this.currentLat = position.coords.latitude;
this.currentLog = position.coords.longitude;
}, (error) => {
console.log("getcurrentlocation err: " + JSON.stringify(error));
this.currentLog = “”;
this.currentLat = “”;
});