Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS9: Will NSAllowsArbitraryLoads=True be allowed for a release in the App Store? [duplicate]

Tags:

ios

ios9

Apple has changed its current App Transport Security model with the release of iOS 9. Since this I have the issue that my App doesn't trust certain web services anymore and will terminate with an error. I found a solution to "fix" this error and I'm wondering if the following solution which I added to the Info.plist file will prevent the App from being released in the Apple App Store.

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

Does anybody know this?

Update:

Question is a duplicate to:

Does App Store reject submission if NSAllowsArbitraryLoads set to YES?

like image 534
ashiaka Avatar asked Sep 10 '15 06:09

ashiaka


1 Answers

Of course they'll allow you to submit apps with that setting. They added that override because some apps can't feasibly be released without allowing non-HTTPS requests. It will be a long time before it will be practical to ban unencrypted HTTP.

You may have to provide an explanation of why you're using that exception, of course.

like image 60
dgatwood Avatar answered Oct 26 '22 09:10

dgatwood