iOS9 Beta 4 ATS

Hey just wanted to give anyone a heads up who is using the iOS 9 Betas to get their apps ready to be used with the ATS things added. It hasn’t always been enforced until this beta it seems. Any http calls that are not white listed will not go through, you’ll see an error in your console like

NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9824
 CFNetwork SSLHandshake failed (-9824)

This is caused by a non-secure request being made, and stopped my app from even making secure requests (beta problem maybe?)

So if you need to disable it here is how to do that (note: this is a temporary work around your server should be using Ssl so that your users data is protected)

This question tells you how to bypass that until cordova can catch up and or if your server does not support the correct SSL that it needs to.

Hope this can save some headaches!

4 Likes