GPS location in Android

i am using geolocation to get GPS curent but it not working in android . It run very good in IOS and windown

Whats the error you are getting?

i need data of lat long GPS but it underfind

Lets see what you are trying

this.geolocation.getCurrentPosition().then((resp) => {
debugger
console.log(resp.coords.latitude);
console.log(resp.coords.longitude);
var setLat = resp.coords.latitude;
var setLong = resp.coords.longitude;
this.dataGps = ‘[’ + setLat + ‘,’ + setLong + ‘]’;
}

My code

It should work with what you posted maybe you can remove the plugin and add it back

I did that but it not working in android

it run very good in android 5.0