Hi All,
In our app we are requesting one api with http url first time it's working fine. But second time onwards it's reditrecting to https automatically.
App flow -> on app launch a http request is made -> once we receive the response the app open a subview with UIWebView with https URL -> after closing this UIwebview if we try to made any http request its being redirected to https. If we remove subview UIWebview totally from the app everything is working fine. All requests are going on http.
In plist we added below key also.
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>