GitHub user dpogue opened a pull request:
https://github.com/apache/cordova-lib/pull/502
CB-12002 - Add getAllowIntents() to ConfigParser
### Platforms affected
None, but I'm adding this as preparation for an iOS feature.
### What does this PR do?
Adds a convenience method to retrieve the list of `<allow-intent>` tags
from config.xml, similar to the `getAllowNavigations()` and `getAccesses()`
methods.
### What testing has been done on this change?
Additions to the existing spec tests.
### Checklist
- [x] Reported an issue in the JIRA database:
[CB-12002](https://issues.apache.org/jira/browse/CB-12002)
- [x] Commit message follows the format
- [x] Added automated test coverage as appropriate for this change.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dpogue/cordova-lib get-intents
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-lib/pull/502.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #502
----
commit 84f633321c94341f05dad725b90dc016b12ee44b
Author: Darryl Pogue <[email protected]>
Date: 2016-10-12T17:48:26Z
CB-12002 - Add getAllowIntents() to ConfigParser
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]