I have an app developed on Intel XDK (the worst decision I ever made) and when I test this app on iOS 9 I get the error: "Failed to load resource: An SSL error has occurred and a secure connection to the server cannot be made."
At first I implemented SSL certification on my server. No luck on resolving this error.
Searching a little bit, I discovered that it's possible to make this error go away by adding some information to the info.plist file. I need to add this to the info.plist file:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>yourdomain.com</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
<false/>
</dict>
</dict>
</dict>
But I can't find a way to change my info.plist on Intel XDK.
How can I add these information to my info.plist file on Intel XDK? Is it even possible to do that? Why isn't Intel fixing it???
Basically I feel there are two approach to resolve this issue:
One way is to skip this iOS security using iOS security plugin
Second option is to use custom config plugin which allows you to manipulate and set values of your choice in -*.plist file using values configuration in config.xml
Please note that this is tested approach by me using Cordova CLI. You should be able to pull it off in Intel xdk too I guess.