1
  1. Even after adding App Transport Security Settings and Allow Arbitrary Loads under it I'm still getting the same error -

"App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file."

  1. also couldn't figure out why the value of 'App Transport Security Settings' on the right side of the table is showing 0

enter image description here

2apreety18
  • 73
  • 2
  • 7

1 Answers1

1

You should add Allow Arbitrary Loads inside App Transport Security Settings dictionary, like this:

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
</dict>

enter image description here

kubrick G
  • 816
  • 6
  • 10
  • This is a lazy approach. It is better to add exceptions at a domain level than to completely disable ATS altogether for your app. https://stackoverflow.com/a/31623388/3708242 We still do not know when Apple is going to enforce the need to a justification for ATS exceptions, but many apps that completely disable ATS are going to be in for a rude awakening. Also, using non-TLS connections put your users at risk. – wottle Sep 17 '20 at 21:55