Shortly, I'll be creating a JIRA ticket for each platform as a sub-task to
issue 764 [1].

[1]
https://issues.apache.org/jira/browse/CB-764?focusedCommentId=13275070#comment-13275070

On Mon, May 14, 2012 at 4:42 PM, Filip Maj <f...@adobe.com> wrote:

> Hey everyone,
>
> Related to the permissions / documentation thread I started today, can
> maintainers from each platform once-over the changes Mike introduced to
> the docs (details below)? Specifically:
>
> - mappings in the plugins.xml/phonegap.plist
> - what features/permissions need to be granted in platform-specific
> manifest files
>
> Would be nice to get rid of all the @TODO's in the docs before we tag 1.8
> ;)
>
> Thanks all!
>
> On 5/14/12 4:31 PM, "mwbro...@apache.org" <mwbro...@apache.org> wrote:
>
> >Updated Branches:
> >  refs/heads/master 39d297fed -> 2c615599b
> >
> >
> >CB-764 Add API permissions stub for each platform.
> >
> >
> >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/2c615
> >599
> >Tree:
> >
> http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/2c61559
> >9
> >Diff:
> >
> http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/2c61559
> >9
> >
> >Branch: refs/heads/master
> >Commit: 2c615599b7b06e46be9971ed17f251ee94b1d19f
> >Parents: 39d297f
> >Author: Michael Brooks <mich...@michaelbrooks.ca>
> >Authored: Mon May 14 16:30:51 2012 -0700
> >Committer: Michael Brooks <mich...@michaelbrooks.ca>
> >Committed: Mon May 14 16:30:51 2012 -0700
> >
> >----------------------------------------------------------------------
> > .../en/edge/cordova/accelerometer/accelerometer.md |   44 +++++++++++++-
> > docs/en/edge/cordova/camera/camera.md              |   48
> ++++++++++++++-
> > docs/en/edge/cordova/compass/compass.md            |   35 +++++++++++
> > docs/en/edge/cordova/connection/connection.md      |   41 ++++++++++++
> > docs/en/edge/cordova/contacts/contacts.md          |   43 +++++++++++++-
> > docs/en/edge/cordova/device/device.md              |   43 +++++++++++++-
> > docs/en/edge/cordova/events/events.md              |   40 ++++++++++++
> > docs/en/edge/cordova/file/file.md                  |   43 +++++++++++++-
> > docs/en/edge/cordova/geolocation/geolocation.md    |   41 ++++++++++++
> > docs/en/edge/cordova/media/capture/capture.md      |   41 ++++++++++++
> > docs/en/edge/cordova/media/media.md                |   40 ++++++++++++
> > docs/en/edge/cordova/notification/notification.md  |   43 +++++++++++++-
> > docs/en/edge/cordova/storage/storage.md            |   43 +++++++++++++-
> > template/docs/default/index.css                    |    2 +-
> > 14 files changed, 539 insertions(+), 8 deletions(-)
> >----------------------------------------------------------------------
> >
> >
> >
> http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/2c61559
> >9/docs/en/edge/cordova/accelerometer/accelerometer.md
> >----------------------------------------------------------------------
> >diff --git a/docs/en/edge/cordova/accelerometer/accelerometer.md
> >b/docs/en/edge/cordova/accelerometer/accelerometer.md
> >index b84eeb9..39984e8 100644
> >--- a/docs/en/edge/cordova/accelerometer/accelerometer.md
> >+++ b/docs/en/edge/cordova/accelerometer/accelerometer.md
> >@@ -39,4 +39,46 @@ Arguments
> > Objects (Read-Only)
> > -------------------
> >
> >-- Acceleration
> >\ No newline at end of file
> >+- Acceleration
> >+
> >+Permissions
> >+-----------
> >+
> >+### Android
> >+
> >+#### app/res/xml/plugins.xml
> >+
> >+    <plugin name="Accelerometer"
> >value="org.apache.cordova.AccelListener"/>
> >+
> >+### Bada
> >+
> >+    @TODO
> >+
> >+### BlackBerry WebWorks
> >+
> >+#### www/plugins.xml
> >+
> >+    <plugin name="Accelerometer"
> >value="org.apache.cordova.accelerometer.Accelerometer" />
> >+
> >+#### www/config.xml
> >+
> >+    <feature id="blackberry.system"  required="true" version="1.0.0.0" />
> >+    <feature id="org.apache.cordova" required="true" version="1.0.0" />
> >+
> >+### iOS
> >+
> >+#### App/Supporting Files/Cordova.plist
> >+
> >+    <key>Plugins</key>
> >+    <dict>
> >+        <key>Accelerometer</key>
> >+        <string>CDVAccelerometer</string>
> >+    </dict>
> >+
> >+### webOS
> >+
> >+    @TODO
> >+
> >+### Windows Phone
> >+
> >+    @TODO
> >
> >
> http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/2c61559
> >9/docs/en/edge/cordova/camera/camera.md
> >----------------------------------------------------------------------
> >diff --git a/docs/en/edge/cordova/camera/camera.md
> >b/docs/en/edge/cordova/camera/camera.md
> >index d23563b..038fa23 100644
> >--- a/docs/en/edge/cordova/camera/camera.md
> >+++ b/docs/en/edge/cordova/camera/camera.md
> >@@ -25,4 +25,50 @@ Camera
> > Methods
> > -------
> >
> >-- camera.getPicture
> >\ No newline at end of file
> >+- camera.getPicture
> >+
> >+Permissions
> >+-----------
> >+
> >+### Android
> >+
> >+#### app/res/xml/plugins.xml
> >+
> >+    <plugin name="Camera" value="org.apache.cordova.CameraLauncher" />
> >+
> >+#### app/AndroidManifest
> >+
> >+    <uses-feature android:name="android.hardware.camera" />
> >+    <uses-feature android:name="android.hardware.camera.autofocus" />
> >+
> >+### Bada
> >+
> >+    @TODO
> >+
> >+### BlackBerry WebWorks
> >+
> >+#### www/plugins.xml
> >+
> >+    <plugin name="Camera" value="org.apache.cordova.camera.Camera" />
> >+
> >+#### www/config.xml
> >+
> >+    <feature id="blackberry.media.camera" />
> >+
> >+### iOS
> >+
> >+#### App/Supporting Files/Cordova.plist
> >+
> >+    <key>Plugins</key>
> >+    <dict>
> >+        <key>Camera</key>
> >+        <string>CDVCamera</string>
> >+    </dict>
> >+
> >+### webOS
> >+
> >+    @TODO
> >+
> >+### Windows Phone
> >+
> >+    @TODO
> >
> >
> http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/2c61559
> >9/docs/en/edge/cordova/compass/compass.md
> >----------------------------------------------------------------------
> >diff --git a/docs/en/edge/cordova/compass/compass.md
> >b/docs/en/edge/cordova/compass/compass.md
> >index fbd1d95..64d65ca 100755
> >--- a/docs/en/edge/cordova/compass/compass.md
> >+++ b/docs/en/edge/cordova/compass/compass.md
> >@@ -38,3 +38,38 @@ Arguments
> > - compassError
> > - compassOptions
> > - compassHeading
> >+
> >+Permissions
> >+-----------
> >+
> >+### Android
> >+
> >+#### app/res/xml/plugins.xml
> >+
> >+    <plugin name="Compass" value="org.apache.cordova.CompassListener" />
> >+
> >+### Bada
> >+
> >+    @TODO
> >+
> >+### BlackBerry WebWorks
> >+
> >+    @TODO
> >+
> >+### iOS
> >+
> >+#### App/Supporting Files/Cordova.plist
> >+
> >+    <key>Plugins</key>
> >+    <dict>
> >+        <key>Compass</key>
> >+        <string>CDVLocation</string>
> >+    </dict>
> >+
> >+### webOS
> >+
> >+    @TODO
> >+
> >+### Windows Phone
> >+
> >+    @TODO
> >
> >
> http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/2c61559
> >9/docs/en/edge/cordova/connection/connection.md
> >----------------------------------------------------------------------
> >diff --git a/docs/en/edge/cordova/connection/connection.md
> >b/docs/en/edge/cordova/connection/connection.md
> >index d0aee0f..7cdd126 100644
> >--- a/docs/en/edge/cordova/connection/connection.md
> >+++ b/docs/en/edge/cordova/connection/connection.md
> >@@ -60,3 +60,44 @@ Bada Quirk
> > webOS Quirks
> > ------------
> > - will only show that a connection is available, but not which type
> >+
> >+Permissions
> >+-----------
> >+
> >+### Android
> >+
> >+#### app/res/xml/plugins.xml
> >+
> >+    @TODO
> >+
> >+#### app/AndroidManifest.xml
> >+
> >+    @TODO
> >+
> >+### Bada
> >+
> >+    @TODO
> >+
> >+### BlackBerry WebWorks
> >+
> >+#### www/plugins.xml
> >+
> >+    @TODO
> >+
> >+#### www/config.xml
> >+
> >+    @TODO
> >+
> >+### iOS
> >+
> >+#### App/Supporting Files/Cordova.plist
> >+
> >+    @TODO
> >+
> >+### webOS
> >+
> >+    @TODO
> >+
> >+### Windows Phone
> >+
> >+    @TODO
> >
> >
> http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/2c61559
> >9/docs/en/edge/cordova/contacts/contacts.md
> >----------------------------------------------------------------------
> >diff --git a/docs/en/edge/cordova/contacts/contacts.md
> >b/docs/en/edge/cordova/contacts/contacts.md
> >index 90b49b5..d238900 100644
> >--- a/docs/en/edge/cordova/contacts/contacts.md
> >+++ b/docs/en/edge/cordova/contacts/contacts.md
> >@@ -45,4 +45,45 @@ Objects
> > - ContactAddress
> > - ContactOrganization
> > - ContactFindOptions
> >-- ContactError
> >\ No newline at end of file
> >+- ContactError
> >+
> >+Permissions
> >+-----------
> >+
> >+### Android
> >+
> >+#### app/res/xml/plugins.xml
> >+
> >+    @TODO
> >+
> >+#### app/AndroidManifest.xml
> >+
> >+    @TODO
> >+
> >+### Bada
> >+
> >+    @TODO
> >+
> >+### BlackBerry WebWorks
> >+
> >+#### www/plugins.xml
> >+
> >+    @TODO
> >+
> >+#### www/config.xml
> >+
> >+    @TODO
> >+
> >+### iOS
> >+
> >+#### App/Supporting Files/Cordova.plist
> >+
> >+    @TODO
> >+
> >+### webOS
> >+
> >+    @TODO
> >+
> >+### Windows Phone
> >+
> >+    @TODO
> >
> >
> http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/2c61559
> >9/docs/en/edge/cordova/device/device.md
> >----------------------------------------------------------------------
> >diff --git a/docs/en/edge/cordova/device/device.md
> >b/docs/en/edge/cordova/device/device.md
> >index 9f0c944..bfbca74 100644
> >--- a/docs/en/edge/cordova/device/device.md
> >+++ b/docs/en/edge/cordova/device/device.md
> >@@ -39,4 +39,45 @@ Since `device` is assigned to the `window` object, it
> >is implicitly in the globa
> >     // These reference the same `device`
> >     //
> >     var phoneName = window.device.name;
> >-    var phoneName = device.name;
> >\ No newline at end of file
> >+    var phoneName = device.name;
> >+
> >+Permissions
> >+-----------
> >+
> >+### Android
> >+
> >+#### app/res/xml/plugins.xml
> >+
> >+    @TODO
> >+
> >+#### app/AndroidManifest.xml
> >+
> >+    @TODO
> >+
> >+### Bada
> >+
> >+    @TODO
> >+
> >+### BlackBerry WebWorks
> >+
> >+#### www/plugins.xml
> >+
> >+    @TODO
> >+
> >+#### www/config.xml
> >+
> >+    @TODO
> >+
> >+### iOS
> >+
> >+#### App/Supporting Files/Cordova.plist
> >+
> >+    @TODO
> >+
> >+### webOS
> >+
> >+    @TODO
> >+
> >+### Windows Phone
> >+
> >+    @TODO
> >
> >
> http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/2c61559
> >9/docs/en/edge/cordova/events/events.md
> >----------------------------------------------------------------------
> >diff --git a/docs/en/edge/cordova/events/events.md
> >b/docs/en/edge/cordova/events/events.md
> >index b6cd43a..f7b1d94 100644
> >--- a/docs/en/edge/cordova/events/events.md
> >+++ b/docs/en/edge/cordova/events/events.md
> >@@ -41,3 +41,43 @@ Event Types
> > - volumedownbutton
> > - volumeupbutton
> >
> >+Permissions
> >+-----------
> >+
> >+### Android
> >+
> >+#### app/res/xml/plugins.xml
> >+
> >+    @TODO
> >+
> >+#### app/AndroidManifest.xml
> >+
> >+    @TODO
> >+
> >+### Bada
> >+
> >+    @TODO
> >+
> >+### BlackBerry WebWorks
> >+
> >+#### www/plugins.xml
> >+
> >+    @TODO
> >+
> >+#### www/config.xml
> >+
> >+    @TODO
> >+
> >+### iOS
> >+
> >+#### App/Supporting Files/Cordova.plist
> >+
> >+    @TODO
> >+
> >+### webOS
> >+
> >+    @TODO
> >+
> >+### Windows Phone
> >+
> >+    @TODO
> >
> >
> http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/2c61559
> >9/docs/en/edge/cordova/file/file.md
> >----------------------------------------------------------------------
> >diff --git a/docs/en/edge/cordova/file/file.md
> >b/docs/en/edge/cordova/file/file.md
> >index c12c93d..3dbf4d0 100644
> >--- a/docs/en/edge/cordova/file/file.md
> >+++ b/docs/en/edge/cordova/file/file.md
> >@@ -39,4 +39,45 @@ Objects
> > - FileWriter
> > - Flags
> > - LocalFileSystem
> >-- Metadata
> >\ No newline at end of file
> >+- Metadata
> >+
> >+Permissions
> >+-----------
> >+
> >+### Android
> >+
> >+#### app/res/xml/plugins.xml
> >+
> >+    @TODO
> >+
> >+#### app/AndroidManifest.xml
> >+
> >+    @TODO
> >+
> >+### Bada
> >+
> >+    @TODO
> >+
> >+### BlackBerry WebWorks
> >+
> >+#### www/plugins.xml
> >+
> >+    @TODO
> >+
> >+#### www/config.xml
> >+
> >+    @TODO
> >+
> >+### iOS
> >+
> >+#### App/Supporting Files/Cordova.plist
> >+
> >+    @TODO
> >+
> >+### webOS
> >+
> >+    @TODO
> >+
> >+### Windows Phone
> >+
> >+    @TODO
> >
> >
> http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/2c61559
> >9/docs/en/edge/cordova/geolocation/geolocation.md
> >----------------------------------------------------------------------
> >diff --git a/docs/en/edge/cordova/geolocation/geolocation.md
> >b/docs/en/edge/cordova/geolocation/geolocation.md
> >index c28e0aa..856c740 100644
> >--- a/docs/en/edge/cordova/geolocation/geolocation.md
> >+++ b/docs/en/edge/cordova/geolocation/geolocation.md
> >@@ -47,3 +47,44 @@ Objects (Read-Only)
> > - Position
> > - PositionError
> > - Coordinates
> >+
> >+Permissions
> >+-----------
> >+
> >+### Android
> >+
> >+#### app/res/xml/plugins.xml
> >+
> >+    @TODO
> >+
> >+#### app/AndroidManifest.xml
> >+
> >+    @TODO
> >+
> >+### Bada
> >+
> >+    @TODO
> >+
> >+### BlackBerry WebWorks
> >+
> >+#### www/plugins.xml
> >+
> >+    @TODO
> >+
> >+#### www/config.xml
> >+
> >+    @TODO
> >+
> >+### iOS
> >+
> >+#### App/Supporting Files/Cordova.plist
> >+
> >+    @TODO
> >+
> >+### webOS
> >+
> >+    @TODO
> >+
> >+### Windows Phone
> >+
> >+    @TODO
> >
> >
> http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/2c61559
> >9/docs/en/edge/cordova/media/capture/capture.md
> >----------------------------------------------------------------------
> >diff --git a/docs/en/edge/cordova/media/capture/capture.md
> >b/docs/en/edge/cordova/media/capture/capture.md
> >index aeffc0d..09b09f7 100644
> >--- a/docs/en/edge/cordova/media/capture/capture.md
> >+++ b/docs/en/edge/cordova/media/capture/capture.md
> >@@ -73,3 +73,44 @@ Supported Platforms
> > - BlackBerry WebWorks (OS 5.0 and higher)
> > - iOS
> > - Windows Phone 7 ( Mango )
> >+
> >+Permissions
> >+-----------
> >+
> >+### Android
> >+
> >+#### app/res/xml/plugins.xml
> >+
> >+    @TODO
> >+
> >+#### app/AndroidManifest.xml
> >+
> >+    @TODO
> >+
> >+### Bada
> >+
> >+    @TODO
> >+
> >+### BlackBerry WebWorks
> >+
> >+#### www/plugins.xml
> >+
> >+    @TODO
> >+
> >+#### www/config.xml
> >+
> >+    @TODO
> >+
> >+### iOS
> >+
> >+#### App/Supporting Files/Cordova.plist
> >+
> >+    @TODO
> >+
> >+### webOS
> >+
> >+    @TODO
> >+
> >+### Windows Phone
> >+
> >+    @TODO
> >
> >
> http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/2c61559
> >9/docs/en/edge/cordova/media/media.md
> >----------------------------------------------------------------------
> >diff --git a/docs/en/edge/cordova/media/media.md
> >b/docs/en/edge/cordova/media/media.md
> >index 9c47859..a015627 100644
> >--- a/docs/en/edge/cordova/media/media.md
> >+++ b/docs/en/edge/cordova/media/media.md
> >@@ -62,3 +62,43 @@ Supported Platforms
> > - iOS
> > - Windows Phone 7 ( Mango )
> >
> >+Permissions
> >+-----------
> >+
> >+### Android
> >+
> >+#### app/res/xml/plugins.xml
> >+
> >+    @TODO
> >+
> >+#### app/AndroidManifest.xml
> >+
> >+    @TODO
> >+
> >+### Bada
> >+
> >+    @TODO
> >+
> >+### BlackBerry WebWorks
> >+
> >+#### www/plugins.xml
> >+
> >+    @TODO
> >+
> >+#### www/config.xml
> >+
> >+    @TODO
> >+
> >+### iOS
> >+
> >+#### App/Supporting Files/Cordova.plist
> >+
> >+    @TODO
> >+
> >+### webOS
> >+
> >+    @TODO
> >+
> >+### Windows Phone
> >+
> >+    @TODO
> >
> >
> http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/2c61559
> >9/docs/en/edge/cordova/notification/notification.md
> >----------------------------------------------------------------------
> >diff --git a/docs/en/edge/cordova/notification/notification.md
> >b/docs/en/edge/cordova/notification/notification.md
> >index 865809f..07a08f0 100644
> >--- a/docs/en/edge/cordova/notification/notification.md
> >+++ b/docs/en/edge/cordova/notification/notification.md
> >@@ -28,4 +28,45 @@ Methods
> > - notification.alert
> > - notification.confirm
> > - notification.beep
> >-- notification.vibrate
> >\ No newline at end of file
> >+- notification.vibrate
> >+
> >+Permissions
> >+-----------
> >+
> >+### Android
> >+
> >+#### app/res/xml/plugins.xml
> >+
> >+    @TODO
> >+
> >+#### app/AndroidManifest.xml
> >+
> >+    @TODO
> >+
> >+### Bada
> >+
> >+    @TODO
> >+
> >+### BlackBerry WebWorks
> >+
> >+#### www/plugins.xml
> >+
> >+    @TODO
> >+
> >+#### www/config.xml
> >+
> >+    @TODO
> >+
> >+### iOS
> >+
> >+#### App/Supporting Files/Cordova.plist
> >+
> >+    @TODO
> >+
> >+### webOS
> >+
> >+    @TODO
> >+
> >+### Windows Phone
> >+
> >+    @TODO
> >
> >
> http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/2c61559
> >9/docs/en/edge/cordova/storage/storage.md
> >----------------------------------------------------------------------
> >diff --git a/docs/en/edge/cordova/storage/storage.md
> >b/docs/en/edge/cordova/storage/storage.md
> >index d6a8bb7..5e10317 100644
> >--- a/docs/en/edge/cordova/storage/storage.md
> >+++ b/docs/en/edge/cordova/storage/storage.md
> >@@ -45,4 +45,45 @@ Objects
> > - SQLResultSet
> > - SQLResultSetList
> > - SQLError
> >-- localStorage
> >\ No newline at end of file
> >+- localStorage
> >+
> >+Permissions
> >+-----------
> >+
> >+### Android
> >+
> >+#### app/res/xml/plugins.xml
> >+
> >+    @TODO
> >+
> >+#### app/AndroidManifest.xml
> >+
> >+    @TODO
> >+
> >+### Bada
> >+
> >+    @TODO
> >+
> >+### BlackBerry WebWorks
> >+
> >+#### www/plugins.xml
> >+
> >+    @TODO
> >+
> >+#### www/config.xml
> >+
> >+    @TODO
> >+
> >+### iOS
> >+
> >+#### App/Supporting Files/Cordova.plist
> >+
> >+    @TODO
> >+
> >+### webOS
> >+
> >+    @TODO
> >+
> >+### Windows Phone
> >+
> >+    @TODO
> >
> >
> http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/2c61559
> >9/template/docs/default/index.css
> >----------------------------------------------------------------------
> >diff --git a/template/docs/default/index.css
> >b/template/docs/default/index.css
> >index f2af93f..2ad1761 100644
> >--- a/template/docs/default/index.css
> >+++ b/template/docs/default/index.css
> >@@ -203,7 +203,7 @@ h1, ul, li {
> >   text-shadow:#FFFFFF 0px 1px 1px;
> > }
> > #content h3 {
> >-  font-size:1em;
> >+  font-size:1.2em;
> >   font-weight:bold;
> >   margin:0.8em 0px 0.5em 0px;
> >   text-shadow:#FFFFFF 0px 1px 1px;
> >
>
>

Reply via email to