Backend calls not working in device


#1

hi,
Http calls to the server not working on my android device but works in ripple? already using cordova-plugin-whitelist
No log error!
any idea ?


#2

Did you remote debug the problem on the device already? Follow these instructions here to debug the problem in Chrome dev tools: https://ionic.zone/debug/remote-debug-your-app#android Look at the console and network tabs for errors.


#3

remote debugging from chrome is not working but any way from visual studio i don’t get any console error while remote debugging


#4

Clicking on “inspect” doesn’t work?


#5

you must check the console log to be able to see what’s the problem all about…


#6

no its not working. nothing happened when i am clicking the inspect


#7

No log errors.same http request works fine with ripple and postman


#8

Then something is broken. Did you restart your browser and better system after installing the stuff mentioned in the docs?

Mobile environments are different to Ripple and Postman. There are security limitations and other stuff that can cause calls to fail. But you need to have a look at the console log of the app to debug this.