Skip to content

Can't this be accomplished by just using the config.xml? #7

@johnborges

Description

@johnborges

Firstly, I just wanted to say that your plugin helped me accomplish dynamically editing my project's *-Info.plist. I'm using it to add dictionary entries that wouldn't normally be easy to get too. After getting a better understanding on how Cordova handles ATS, I don't think it really makes sense to use this plugin for ATS specific purposes.

The config.xml gives a couple of options for controlling the Whitelist and working with ATS using the <access origin=""/> tag. Going off of your example in the README.MD, the same can be done without this plugin:

<access origin="*://*.github.com"/>

docs

Produces the following in *-Info.plist after running cordova build ios

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSExceptionDomains</key>
    <dict>
        <key>www.github.com</key>
        <dict>
            <key>NSExceptionAllowsInsecureHTTPLoads</key>
            <true/>
        </dict>
    </dict>
</dict>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions