cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwbro...@apache.org
Subject docs commit: Update 3.1.0 plugin feature values to align with edge (56c0f5).
Date Wed, 30 Oct 2013 22:32:24 GMT
Updated Branches:
  refs/heads/master 23fa7310f -> 35c65db18


Update 3.1.0 plugin feature values to align with edge (56c0f5).


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/35c65db1
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/35c65db1
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/35c65db1

Branch: refs/heads/master
Commit: 35c65db18b4f5dff0f78f486b19f47cf3a8723e3
Parents: 23fa731
Author: Michael Brooks <michael@michaelbrooks.ca>
Authored: Wed Oct 30 15:32:00 2013 -0700
Committer: Michael Brooks <michael@michaelbrooks.ca>
Committed: Wed Oct 30 15:32:00 2013 -0700

----------------------------------------------------------------------
 .../3.1.0/cordova/accelerometer/accelerometer.md   |  2 +-
 docs/en/3.1.0/cordova/camera/camera.md             |  2 +-
 docs/en/3.1.0/cordova/compass/compass.md           |  9 +++++++--
 docs/en/3.1.0/cordova/connection/connection.md     |  3 +--
 docs/en/3.1.0/cordova/contacts/contacts.md         |  4 ++--
 docs/en/3.1.0/cordova/device/device.md             |  5 +----
 docs/en/3.1.0/cordova/events/events.md             |  5 +----
 docs/en/3.1.0/cordova/file/file.md                 | 17 ++++++++++++++---
 docs/en/3.1.0/cordova/geolocation/geolocation.md   |  1 -
 .../3.1.0/cordova/globalization/globalization.md   |  2 +-
 docs/en/3.1.0/cordova/inappbrowser/inappbrowser.md |  2 +-
 docs/en/3.1.0/cordova/media/capture/capture.md     |  9 +++++++--
 docs/en/3.1.0/cordova/media/media.md               |  2 +-
 docs/en/3.1.0/cordova/notification/notification.md |  5 ++++-
 docs/en/3.1.0/cordova/splashscreen/splashscreen.md |  2 +-
 15 files changed, 43 insertions(+), 27 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/35c65db1/docs/en/3.1.0/cordova/accelerometer/accelerometer.md
----------------------------------------------------------------------
diff --git a/docs/en/3.1.0/cordova/accelerometer/accelerometer.md b/docs/en/3.1.0/cordova/accelerometer/accelerometer.md
index 4b909b8..b98cd69 100644
--- a/docs/en/3.1.0/cordova/accelerometer/accelerometer.md
+++ b/docs/en/3.1.0/cordova/accelerometer/accelerometer.md
@@ -54,7 +54,7 @@ platform-specific configuration settings described below:
 * Android (in `app/res/xml/config.xml`)
 
         <feature name="Accelerometer">
-            <param name="android-package" value="org.apache.cordova.AccelListener" />
+            <param name="android-package" value="org.apache.cordova.devicemotion.AccelListener"
/>
         </feature>
 
 * BlackBerry WebWorks

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/35c65db1/docs/en/3.1.0/cordova/camera/camera.md
----------------------------------------------------------------------
diff --git a/docs/en/3.1.0/cordova/camera/camera.md b/docs/en/3.1.0/cordova/camera/camera.md
index beeeab0..5ed0349 100644
--- a/docs/en/3.1.0/cordova/camera/camera.md
+++ b/docs/en/3.1.0/cordova/camera/camera.md
@@ -56,7 +56,7 @@ platform-specific configuration settings described below:
 
         (in app/res/xml/config.xml)
         <feature name="Camera">
-            <param name="android-package" value="org.apache.cordova.CameraLauncher" />
+            <param name="android-package" value="org.apache.cordova.camera.CameraLauncher"
/>
         </feature>
 
         (in app/AndroidManifest)

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/35c65db1/docs/en/3.1.0/cordova/compass/compass.md
----------------------------------------------------------------------
diff --git a/docs/en/3.1.0/cordova/compass/compass.md b/docs/en/3.1.0/cordova/compass/compass.md
index d1d1482..f62387e 100755
--- a/docs/en/3.1.0/cordova/compass/compass.md
+++ b/docs/en/3.1.0/cordova/compass/compass.md
@@ -50,12 +50,17 @@ Interface, to add or remove this feature for a project:
 These commands apply to all targeted platforms, but modify the
 platform-specific configuration settings described below:
 
-* Android (in `app/res/xml/config.xml`)
+* Android
 
+        (in `app/res/xml/config.xml`)
         <feature name="Compass">
-            <param name="android-package" value="org.apache.cordova.CompassListener" />
+            <param name="android-package" value="org.apache.cordova.deviceorientation.CompassListener"
/>
         </feature>
 
+        (in app/AndroidManifest)
+        <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
+        <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
+
 * iOS (in `config.xml`)
 
         <feature name="Compass">

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/35c65db1/docs/en/3.1.0/cordova/connection/connection.md
----------------------------------------------------------------------
diff --git a/docs/en/3.1.0/cordova/connection/connection.md b/docs/en/3.1.0/cordova/connection/connection.md
index 97b97ad..ae00e9a 100644
--- a/docs/en/3.1.0/cordova/connection/connection.md
+++ b/docs/en/3.1.0/cordova/connection/connection.md
@@ -54,11 +54,10 @@ platform-specific configuration settings described below:
 
         (in app/res/xml/config.xml)
         <feature name="NetworkStatus">
-            <param name="android-package" value="org.apache.cordova.NetworkManager" />
+            <param name="android-package" value="org.apache.cordova.networkinformation.NetworkManager"
/>
         </feature>
 
         (in app/AndroidManifest.xml)
-        <uses-permission android:name="android.permission.INTERNET" />
         <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
 
 * BlackBerry WebWorks

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/35c65db1/docs/en/3.1.0/cordova/contacts/contacts.md
----------------------------------------------------------------------
diff --git a/docs/en/3.1.0/cordova/contacts/contacts.md b/docs/en/3.1.0/cordova/contacts/contacts.md
index 039d3d9..4b07e74 100644
--- a/docs/en/3.1.0/cordova/contacts/contacts.md
+++ b/docs/en/3.1.0/cordova/contacts/contacts.md
@@ -78,13 +78,13 @@ platform-specific configuration settings described below:
 
         (in app/res/xml/config.xml)
         <feature name="Contacts">
-            <param name="android-package" value="org.apache.cordova.ContactManager" />
+            <param name="android-package" value="org.apache.cordova.contacts.ContactManager"
/>
         </feature>
 
         (in app/AndroidManifest.xml)
-        <uses-permission android:name="android.permission.GET_ACCOUNTS" />
         <uses-permission android:name="android.permission.READ_CONTACTS" />
         <uses-permission android:name="android.permission.WRITE_CONTACTS" />
+        <uses-permission android:name="android.permission.GET_ACCOUNTS" />
 
 * BlackBerry WebWorks
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/35c65db1/docs/en/3.1.0/cordova/device/device.md
----------------------------------------------------------------------
diff --git a/docs/en/3.1.0/cordova/device/device.md b/docs/en/3.1.0/cordova/device/device.md
index b8188f1..520478c 100644
--- a/docs/en/3.1.0/cordova/device/device.md
+++ b/docs/en/3.1.0/cordova/device/device.md
@@ -56,12 +56,9 @@ platform-specific configuration settings described below:
 
         (in app/res/xml/config.xml)
         <feature name="Device">
-            <param name="android-package" value="org.apache.cordova.Device" />
+            <param name="android-package" value="org.apache.cordova.device.Device" />
         </feature>
 
-        (in app/AndroidManifest.xml)
-        <uses-permission android:name="android.permission.READ_PHONE_STATE" />
-
 * BlackBerry WebWorks
 
         (in www/plugins.xml)

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/35c65db1/docs/en/3.1.0/cordova/events/events.md
----------------------------------------------------------------------
diff --git a/docs/en/3.1.0/cordova/events/events.md b/docs/en/3.1.0/cordova/events/events.md
index 4d870c1..d8ae263 100644
--- a/docs/en/3.1.0/cordova/events/events.md
+++ b/docs/en/3.1.0/cordova/events/events.md
@@ -59,12 +59,9 @@ platform-specific configuration settings described below:
 
         (in app/res/xml/config.xml)
         <feature name="Battery">
-            <param name="android-package" value="org.apache.cordova.BatteryListener" />
+            <param name="android-package" value="org.apache.cordova.batterystatus.BatteryListener"
/>
         </feature>
 
-        (in app/AndroidManifest.xml)
-        <uses-permission android:name="android.permission.BROADCAST_STICKY" />
-
 * BlackBerry WebWorks
 
         (in www/plugins.xml)

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/35c65db1/docs/en/3.1.0/cordova/file/file.md
----------------------------------------------------------------------
diff --git a/docs/en/3.1.0/cordova/file/file.md b/docs/en/3.1.0/cordova/file/file.md
index fafd625..e97158c 100644
--- a/docs/en/3.1.0/cordova/file/file.md
+++ b/docs/en/3.1.0/cordova/file/file.md
@@ -50,11 +50,12 @@ Interface, to add or remove this feature for a project:
         [ 'org.apache.cordova.file' ]
         $ cordova plugin rm org.apache.cordova.file
         
-To use the file-transfer plugin you must add that separately.
+To use the file-transfer plugin you must add that separately. Do not add the file plugin
manually because it will be automatically added as a dependency plugin by the CLI. 
         
         $ cordova plugin add org.apache.cordova.file-transfer
         $ cordova plugin ls
-        [ 'org.apache.cordova.file-transfer' ]
+        [ 'org.apache.cordova.file',
+          'org.apache.cordova.file-transfer' ]
         $ cordova plugin rm org.apache.cordova.file-transfer
 
 These commands apply to all targeted platforms, but modify the
@@ -62,12 +63,22 @@ platform-specific configuration settings described below:
 
 * Android
 
+        (after adding just the file plugin)
+        (in app/res/xml/config.xml)
+        <feature name="File">
+            <param name="android-package" value="org.apache.cordova.FileUtils" />
+        </feature>
+
+        (in app/AndroidManifest.xml)
+        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+
+        (after adding just the file-transfer plugin)
         (in app/res/xml/config.xml)
         <feature name="File">
             <param name="android-package" value="org.apache.cordova.FileUtils" />
         </feature>
         <feature name="FileTransfer">
-            <param name="android-package" value="org.apache.cordova.FileTransfer" />
+            <param name="android-package" value="org.apache.cordova.filetransfer.FileTransfer"
/>
         </feature>
 
         (in app/AndroidManifest.xml)

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/35c65db1/docs/en/3.1.0/cordova/geolocation/geolocation.md
----------------------------------------------------------------------
diff --git a/docs/en/3.1.0/cordova/geolocation/geolocation.md b/docs/en/3.1.0/cordova/geolocation/geolocation.md
index 83d2e6b..b889d22 100644
--- a/docs/en/3.1.0/cordova/geolocation/geolocation.md
+++ b/docs/en/3.1.0/cordova/geolocation/geolocation.md
@@ -89,7 +89,6 @@ platform-specific configuration settings described below:
         (in app/AndroidManifest.xml)
         <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
         <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
-        <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"
/>
 
 * BlackBerry WebWorks
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/35c65db1/docs/en/3.1.0/cordova/globalization/globalization.md
----------------------------------------------------------------------
diff --git a/docs/en/3.1.0/cordova/globalization/globalization.md b/docs/en/3.1.0/cordova/globalization/globalization.md
index a2c9ec3..9564262 100644
--- a/docs/en/3.1.0/cordova/globalization/globalization.md
+++ b/docs/en/3.1.0/cordova/globalization/globalization.md
@@ -66,7 +66,7 @@ platform-specific configuration settings described below:
 * Android (in `app/res/xml/config.xml`)
 
         <feature name="Globalization">
-            <param name="android-package" value="org.apache.cordova.Globalization" />
+            <param name="android-package" value="org.apache.cordova.globalization.Globalization"
/>
         </feature>
 
 Some platforms may support this feature without requiring any special

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/35c65db1/docs/en/3.1.0/cordova/inappbrowser/inappbrowser.md
----------------------------------------------------------------------
diff --git a/docs/en/3.1.0/cordova/inappbrowser/inappbrowser.md b/docs/en/3.1.0/cordova/inappbrowser/inappbrowser.md
index 5d217cd..abf06a1 100644
--- a/docs/en/3.1.0/cordova/inappbrowser/inappbrowser.md
+++ b/docs/en/3.1.0/cordova/inappbrowser/inappbrowser.md
@@ -56,7 +56,7 @@ platform-specific configuration settings described below:
 * Android (in `app/res/xml/config.xml`)
 
         <feature name="InAppBrowser">
-            <param name="android-package" value="org.apache.cordova.InAppBrowser" />
+            <param name="android-package" value="org.apache.cordova.inappbrowser.InAppBrowser"
/>
         </feature>
 
 * iOS (in `config.xml`)

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/35c65db1/docs/en/3.1.0/cordova/media/capture/capture.md
----------------------------------------------------------------------
diff --git a/docs/en/3.1.0/cordova/media/capture/capture.md b/docs/en/3.1.0/cordova/media/capture/capture.md
index f5bc56e..d8d55c4 100644
--- a/docs/en/3.1.0/cordova/media/capture/capture.md
+++ b/docs/en/3.1.0/cordova/media/capture/capture.md
@@ -95,7 +95,8 @@ Interface, to add or remove this feature for a project:
 
         $ cordova plugin add org.apache.cordova.media-capture
         $ cordova plugin ls
-        [ 'org.apache.cordova.media-capture' ]
+        [ 'org.apache.cordova.file',
+          'org.apache.cordova.media-capture']
         $ cordova plugin rm org.apache.cordova.media-capture
 
 These commands apply to all targeted platforms, but modify the
@@ -104,12 +105,16 @@ platform-specific configuration settings described below:
 * Android
 
         (in app/res/xml/config.xml)
+        <feature name="File">
+            <param name="android-package" value="org.apache.cordova.file.FileUtils" />
+        </feature>
         <feature name="Capture">
-            <param name="android-package" value="org.apache.cordova.Capture" />
+            <param name="android-package" value="org.apache.cordova.mediacapture.Capture"
/>
         </feature>
 
         (in app/AndroidManifest.xml)
         <uses-permission android:name="android.permission.RECORD_AUDIO" />
+        <uses-permission android:name="android.permission.RECORD_VIDEO" />
         <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
 
 * BlackBerry WebWorks

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/35c65db1/docs/en/3.1.0/cordova/media/media.md
----------------------------------------------------------------------
diff --git a/docs/en/3.1.0/cordova/media/media.md b/docs/en/3.1.0/cordova/media/media.md
index 1c9dfc7..ce0dd61 100644
--- a/docs/en/3.1.0/cordova/media/media.md
+++ b/docs/en/3.1.0/cordova/media/media.md
@@ -105,7 +105,7 @@ platform-specific configuration settings described below:
 
         (in app/res/xml/config.xml)
         <feature name="Media">
-            <param name="android-package" value="org.apache.cordova.AudioHandler" />
+            <param name="android-package" value="org.apache.cordova.media.AudioHandler"
/>
         </feature>
 
         (in app/AndroidManifest.xml)

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/35c65db1/docs/en/3.1.0/cordova/notification/notification.md
----------------------------------------------------------------------
diff --git a/docs/en/3.1.0/cordova/notification/notification.md b/docs/en/3.1.0/cordova/notification/notification.md
index 4380d9e..9c0c587 100644
--- a/docs/en/3.1.0/cordova/notification/notification.md
+++ b/docs/en/3.1.0/cordova/notification/notification.md
@@ -50,7 +50,10 @@ platform-specific configuration settings described below:
 
         (in app/res/xml/config.xml)
         <feature name="Notification">
-            <param name="android-package" value="org.apache.cordova.Notification" />
+            <param name="android-package" value="org.apache.cordova.dialogs.Notification"
/>
+        </feature>
+        <feature name="Vibration">
+            <param name="android-package" value="org.apache.cordova.vibration.Vibration"
/>
         </feature>
 
         (in app/AndroidManifest.xml)

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/35c65db1/docs/en/3.1.0/cordova/splashscreen/splashscreen.md
----------------------------------------------------------------------
diff --git a/docs/en/3.1.0/cordova/splashscreen/splashscreen.md b/docs/en/3.1.0/cordova/splashscreen/splashscreen.md
index 7146a66..d48d22c 100644
--- a/docs/en/3.1.0/cordova/splashscreen/splashscreen.md
+++ b/docs/en/3.1.0/cordova/splashscreen/splashscreen.md
@@ -43,7 +43,7 @@ platform-specific configuration settings described below:
 * Android (in `app/res/xml/config.xml`)
 
         <feature name="SplashScreen">
-            <param name="android-package" value="org.apache.cordova.SplashScreen" />
+            <param name="android-package" value="org.apache.cordova.splashscreen.SplashScreen"
/>
         </feature>
 
 * iOS (in `config.xml`)


Mime
View raw message