Ios device issue

can anyone help me.

json response is come in browser and android but not in IOS device i give permissions in ios also.

I would suggest doing a prepare ios build in ionic and then run a debug build from within XCode and inspect the debug output. It may be a https issue or a CORS related issue.

But CORS issue is come in browser not on Device.

You cannot call a webservice which returns JSON from an Ionic App on the iPhone without sending the proper CORS headers in the server response.

Did you inspect the XCode debug output? What does it say?

Try using http native to call webservice.

1 Like