Repository: cordova-docs Updated Branches: refs/heads/master 5bb748952 -> 8f3bdf95f
CB-13213 - Change access tag attribute 'allows-arbitrary-loads-in-media' to 'allows-arbitrary-loads-for-media' Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/8f3bdf95 Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/8f3bdf95 Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/8f3bdf95 Branch: refs/heads/master Commit: 8f3bdf95fded392c258c4fff3ac369baefa10505 Parents: 5bb7489 Author: Shazron Abdullah <[email protected]> Authored: Wed Sep 6 10:33:01 2017 +0800 Committer: Shazron Abdullah <[email protected]> Committed: Wed Sep 6 10:33:01 2017 +0800 ---------------------------------------------------------------------- www/docs/en/7.x/guide/appdev/whitelist/index.md | 2 +- www/docs/en/dev/guide/appdev/whitelist/index.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/8f3bdf95/www/docs/en/7.x/guide/appdev/whitelist/index.md ---------------------------------------------------------------------- diff --git a/www/docs/en/7.x/guide/appdev/whitelist/index.md b/www/docs/en/7.x/guide/appdev/whitelist/index.md index 3f2af80..4d0c7fb 100644 --- a/www/docs/en/7.x/guide/appdev/whitelist/index.md +++ b/www/docs/en/7.x/guide/appdev/whitelist/index.md @@ -120,7 +120,7 @@ The `<access>` and `<allow-navigation>` tags support these three attributes belo In iOS 10 and above, the `<access>` tag supports these three attributes below, when paired with the origin wildcard `*`. These attributes also have their equivalents in ATS: -1. allows-arbitrary-loads-in-media (Boolean, defaults to 'false', new in iOS 10) +1. allows-arbitrary-loads-for-media (Boolean, defaults to 'false', new in iOS 10. New in [email protected], fixed to use the proper attribute name). The old attribute `allows-arbitrary-loads-in-media` is now deprecated. 2. allows-arbitrary-loads-in-web-content (Boolean, defaults to 'false', new in iOS 10) 3. allows-local-networking (Boolean, defaults to 'false', new in iOS 10) http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/8f3bdf95/www/docs/en/dev/guide/appdev/whitelist/index.md ---------------------------------------------------------------------- diff --git a/www/docs/en/dev/guide/appdev/whitelist/index.md b/www/docs/en/dev/guide/appdev/whitelist/index.md index 3f2af80..8df97da 100644 --- a/www/docs/en/dev/guide/appdev/whitelist/index.md +++ b/www/docs/en/dev/guide/appdev/whitelist/index.md @@ -120,14 +120,14 @@ The `<access>` and `<allow-navigation>` tags support these three attributes belo In iOS 10 and above, the `<access>` tag supports these three attributes below, when paired with the origin wildcard `*`. These attributes also have their equivalents in ATS: -1. allows-arbitrary-loads-in-media (Boolean, defaults to 'false', new in iOS 10) +1. allows-arbitrary-loads-for-media (Boolean, defaults to 'false', new in iOS 10. New in [email protected], fixed to use the proper attribute name). The old attribute `allows-arbitrary-loads-in-media` is now deprecated. 2. allows-arbitrary-loads-in-web-content (Boolean, defaults to 'false', new in iOS 10) 3. allows-local-networking (Boolean, defaults to 'false', new in iOS 10) * example: ```xml - <access origin='*' allows-arbitrary-loads-in-media='true' allows-arbitrary-loads-in-web-content='true' allows-local-networking='true' /> + <access origin='*' allows-arbitrary-loads-for-media='true' allows-arbitrary-loads-in-web-content='true' allows-local-networking='true' /> ``` See the [ATS Technote](https://developer.apple.com/library/prerelease/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW33) for more details. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
