Config.xml preference - NSAppTransportSecurity

Running into an issue in iOS9. I found the snippit below for my info.plist which allows non https requests. Is there a way to include this as a preference in my config.xml file? Its annoying to have to constantly add it back to my info.plist each time I do a platform remove/add


You can script this in your build. See for inspiration.

Or you could use a plugin for this:

1 Like