# Http calls failing in IOS device but Works in Android?

**URL:** <https://forum.ionicframework.com/t/http-calls-failing-in-ios-device-but-works-in-android/35578>\
**Category:** tutorials\
**Created:** [October 26, 2015, 2:19pm UTC](https://forum.ionicframework.com/t/http-calls-failing-in-ios-device-but-works-in-android/35578 "2015-10-26T14:19:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![saifion](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@saifion](https://forum.ionicframework.com/u/saifion)\
**Post date:** [October 26, 2015, 2:19pm UTC](https://forum.ionicframework.com/t/http-calls-failing-in-ios-device-but-works-in-android/35578/1 "2015-10-26T14:19:00Z")

</div>

I have developed my ionic app in android and IOS It is working fine for android.but for ios I am getting issue in the Http Calls fails and throw error with null in the http call error faing this issue in ios device?

---

<div class="post-metadata">

**Author:** ![fox](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/fox/32/91278_2.png) [@fox](https://forum.ionicframework.com/u/fox)\
**Post date:** [October 26, 2015, 2:32pm UTC](https://forum.ionicframework.com/t/http-calls-failing-in-ios-device-but-works-in-android/35578/2 "2015-10-26T14:32:50Z")

</div>

Have you applied the ios9 ionic patches, especially the one for the transport protocol / app transport security  
[http://blog.ionic.io/preparing-for-ios-9/](http://blog.ionic.io/preparing-for-ios-9/)

---

<div class="post-metadata">

**Author:** ![saifion](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@saifion](https://forum.ionicframework.com/u/saifion)\
**Post date:** [October 27, 2015, 4:32am UTC](https://forum.ionicframework.com/t/http-calls-failing-in-ios-device-but-works-in-android/35578/3 "2015-10-27T04:32:21Z")

</div>

I have simualte it in ios 6 .it was not working for me  
.

---

<div class="post-metadata">

**Author:** ![profitsventure](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/profitsventure/32/110001_2.png) [@profitsventure](https://forum.ionicframework.com/u/profitsventure)\
**Post date:** [July 16, 2017, 12:40pm UTC](https://forum.ionicframework.com/t/http-calls-failing-in-ios-device-but-works-in-android/35578/4 "2017-07-16T12:40:30Z")

</div>

I had a same problem too. Removing the WkWebView solves the issue.

`ionic cordova plugin remove cordova-plugin-wkwebview-engine`

More info:

> [@iOS10 http requests blocked?](https://forum.ionicframework.com/t/ios10-http-requests-blocked/67663/2):
>
> So I found that the WkWebView is the culprit, if I remove it and use UIWebView it works. I do see this is in the Xcode console, never seen it before. Ill add to see if it helps. I would still prefer WkWebView over UIWebView, but at least I know I’m not crazy, something is definetly blocking the http requests. Heres the output in Xcode. Wonder if these are some app security settings? subsystem: com.apple.BackBoardServices.fence, category: App, enable\_level: 1, persist\_level: 0, default\_ttl: 0, …

After this plugin is removed I can make http request via iOS!
