ATS Problems

Hi there,

I’m trying to network.request my own website which isn’t secure (only a http not https), but running into difficulties with ATS. 

I have attached a copy of my build.settings, that I thought would fix the issue, but has not.

Any help would be greatly appreciated, thanks 

settings = { plist = { UIBackgroundModes = {"remote-notification"}, UIAppFonts = {"queen.ttf"}, NSAppTransportSecurity = { NSExceptionDomains = { ["mdcapps.com"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true, }, }, }, }, }

Your build.settings isn’t correct. It should be:

settings =  {      iphone =       {          plist =           {              -- stuff          }     } }

You need that iphone table as the first sub-table of settings and then plist is a sub-table of iphone.

Rob

D’oh! Thanks Rob. 

Your build.settings isn’t correct. It should be:

settings =  {      iphone =       {          plist =           {              -- stuff          }     } }

You need that iphone table as the first sub-table of settings and then plist is a sub-table of iphone.

Rob

D’oh! Thanks Rob.