HTTP response not getting


#1

if i opened app in browser everything working fine but through the android when i open app if i make a http call i am getting error like this

_body: { “isTrusted”: true}
status: 0
ok: false
statusText: ""
headers: {}
type: 3
url: null

how i need to solve this


#2

I’m not sure, but it look like you got a CORS error on your devices.
Better way is to allow CORS on your endpoint’s api. Second option is to use cordova whitelist plugin.


#3

It was coming 2 days before… suddenly from yesterday i am getting this error…