Updated Branches: refs/heads/master 1c99b1805 -> 015522652
CB-813 Update Android whitelisting. Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/01552265 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/01552265 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/01552265 Branch: refs/heads/master Commit: 015522652043082a10b655257ca347746b56160e Parents: 1c99b18 Author: Michael Brooks <mich...@michaelbrooks.ca> Authored: Wed May 30 13:41:25 2012 -0700 Committer: Michael Brooks <mich...@michaelbrooks.ca> Committed: Wed May 30 13:41:25 2012 -0700 ---------------------------------------------------------------------- docs/en/edge/guide/whitelist/index.md | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/01552265/docs/en/edge/guide/whitelist/index.md ---------------------------------------------------------------------- diff --git a/docs/en/edge/guide/whitelist/index.md b/docs/en/edge/guide/whitelist/index.md index 70286d5..a846543 100644 --- a/docs/en/edge/guide/whitelist/index.md +++ b/docs/en/edge/guide/whitelist/index.md @@ -56,10 +56,13 @@ Access to all domains (e.g. [google.com][2] and [developer.mozilla.org][7]): Android ------- -The access rules are found in cordova.xml in res/xml/cordova.xml. These rules follow the [W3C Widget Access][1] specification such that the -access elements control the whitelist. For example: +The whitelisting rules are found in `res/xml/cordova.xml` and declared with the element `<access origin="..." />`. - <access origin="http://127.0.0.1*"/> +Android has full support for the whitelisting syntax. + +Access to [google.com][2]: + + <access origin="http://google.com" /> Bada ----