My app works on browser but not in my device with error: ERROR TypeError: Cannot read property 'temp' of null


#1

Hi, evebody.

Here’s what’s happening: I built an app and when I run it in Chrome via ionic serve -l it works fine. When I do run it with ionic cordova run android -l -c to test in my device, when I try to push to one particular page, the following erros appears: ERROR TypeError: Cannot read property ‘temp’ of null

This page I’m trying to visualize is reading data from an external server and the page should show that data on the screen.

I really don’t know what to do anymore and I was wandering if maybe there is an option in my device that I should enable or something like that.

Any help will be very appreciated.

Thanks