In the exact moment i used this as the docs say those warnings pop up, also could it have to do with i using webpack as the bundler?:
import {Geolocation} from 'ionic-native'
...
constructor(...) {
Geolocation.getCurrentPosition({
enableHighAccuracy: true,
timeout: 5000
})
.then((resp) => {
//resp.coords.latitude
//resp.coords.longitude
this.conf.showAlert({
title: 'GeoLocation: ',
template: `Coords: ${Util.JSONStringify({ latitude: resp.coords.latitude, longitude: resp.coords.longitude }, null, 2)}`
})
}, (err) => {
console.log(err)
this.conf.showAlert({
title: 'Error obteniendo la geolocalización',
template: `Razon ${Util.JSONStringify(err, null, 2) }`
})
})
}