App crashes on device when executing http request but working on browser

Hi guys !

Something very strange happens currently on my app. I’m trying to execute a http get request with my app and it works perfectly on my browser, but when I try it on my android device, it crashes.
Actually, everything works perfectly until I click the “calcul” button I created. At this very moment the app closes and well, I’ve got no hint what it can be linked to.

Searching on forums, I tried to remove and install again android platform but didn’t change anything…

Here you have my ionic info, the code where I execute the http request and a strange error I’m getting for a few days, it may be related to that…

Thanks for your help !

Did you remote debug the problem on the device already? Follow these instructions here to debug the problem in Chrome dev tools: Look at the console and network tabs for errors.

Hello and thanks for your answer!
Hmmmm… I have to admit that I don’t really understand what you want to say… I mean,I’m trying my app on DevApp so don’t know how to try it on Chrome :thinking:
If you could be more precise it would be amazing ! thanks

Well, this is the first time you mention that this is a problem with the DevApp.

Yes but I didn’t even know I could test it in an other way

Just use ionic cordova run android (or with ios) to deploy it to your device locally.