Ionic 3.2. tengo una llamada a Openweathermap, con ionic serve funciona correctamente en el browser (Chrome), pero cuando hago el build, la apk en el móvil no trae datos, y no sé cómo debuguearla allí. Les agradeceré si me pueden ayudar, muchas gracias! :-)
Provider:
getClima() {
return this.http.get('http://api.openweathermap.org/data/2.5/forecast/daily?lat=' + this.latitud + '&lon=' + this.longitud + '&appid=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&units=metric');}
Código:
ionViewDidLoad() {
this.clima.getClima()
.subscribe(
(data) => {
this.clima_get = data['city'];
this.forecast_get = data['list']; ............