cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwbro...@apache.org
Subject [2/3] docs commit: [CB-4379] feature tag syntax replaces plugin
Date Mon, 29 Jul 2013 18:37:11 GMT
[CB-4379] feature tag syntax replaces plugin


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

Branch: refs/heads/master
Commit: 7b8a92b67b42db5deb65f0ffbd0b938c51eb6bdd
Parents: 857cf3d
Author: Mike Sierra <letmespellitoutforyou@gmail.com>
Authored: Sat Jul 27 08:15:06 2013 -0400
Committer: Michael Brooks <michael@michaelbrooks.ca>
Committed: Mon Jul 29 11:36:15 2013 -0700

----------------------------------------------------------------------
 .../edge/cordova/accelerometer/accelerometer.md | 22 +++++++-----
 docs/en/edge/cordova/camera/camera.md           | 26 ++++++++------
 docs/en/edge/cordova/compass/compass.md         | 14 +++++---
 docs/en/edge/cordova/connection/connection.md   | 24 ++++++++-----
 docs/en/edge/cordova/contacts/contacts.md       | 24 ++++++++-----
 docs/en/edge/cordova/device/device.md           | 20 ++++++-----
 docs/en/edge/cordova/events/events.md           | 24 ++++++++-----
 docs/en/edge/cordova/file/file.md               | 36 +++++++++++++-------
 docs/en/edge/cordova/geolocation/geolocation.md | 24 ++++++++-----
 .../edge/cordova/globalization/globalization.md |  6 ++--
 .../edge/cordova/inappbrowser/inappbrowser.md   | 14 +++++---
 docs/en/edge/cordova/media/capture/capture.md   | 24 ++++++++-----
 docs/en/edge/cordova/media/media.md             | 22 +++++++-----
 .../edge/cordova/notification/notification.md   | 22 +++++++-----
 .../edge/cordova/splashscreen/splashscreen.md   | 12 ++++---
 docs/en/edge/cordova/storage/storage.md         |  8 +++--
 16 files changed, 204 insertions(+), 118 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/7b8a92b6/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 f23abc2..9c2704d 100644
--- a/docs/en/edge/cordova/accelerometer/accelerometer.md
+++ b/docs/en/edge/cordova/accelerometer/accelerometer.md
@@ -55,26 +55,32 @@ platform-specific configuration settings described below:
 
 * Android
 
-    # app/res/xml/config.xml
-    <plugin name="Accelerometer" value="org.apache.cordova.AccelListener" />
+    <!-- app/res/xml/config.xml -->
+    <feature name="Accelerometer">
+        <param name="android-package" value="org.apache.cordova.AccelListener" />
+    </feature>
 
 * BlackBerry WebWorks
 
-    # www/plugins.xml
-    <plugin name="Accelerometer" value="org.apache.cordova.accelerometer.Accelerometer"
/>
+    <!-- www/plugins.xml -->
+    <feature name="Accelerometer">
+        <param name="blackberry-package" value="org.apache.cordova.accelerometer.Accelerometer"
/>
+    </feature>
 
-    # www/config.xml
+    <!-- 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
 
-    # config.xml
-    <plugin name="Accelerometer" value="CDVAccelerometer" />
+    <!-- config.xml -->
+    <feature name="Accelerometer">
+        <param name="ios-package" value="CDVAccelerometer" />
+    </feature>
 
 * Windows Phone
 
-    # Properties/WPAppManifest.xml
+    <!-- Properties/WPAppManifest.xml -->
     <Capabilities>
         <Capability Name="ID_CAP_SENSORS" />
     </Capabilities>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/7b8a92b6/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 9eea801..54649dd 100644
--- a/docs/en/edge/cordova/camera/camera.md
+++ b/docs/en/edge/cordova/camera/camera.md
@@ -44,18 +44,22 @@ platform-specific configuration settings described below:
 
 * Android
 
-    # app/res/xml/config.xml
-    <plugin name="Camera" value="org.apache.cordova.CameraLauncher" />
+    <!-- app/res/xml/config.xml -->
+    <feature name="Camera">
+        <param name="android-package" value="org.apache.cordova.CameraLauncher" />
+    </feature>
 
-    # app/AndroidManifest
+    <!-- app/AndroidManifest -->
     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
 
 * BlackBerry WebWorks
 
-    # www/plugins.xml
-    <plugin name="Camera" value="org.apache.cordova.camera.Camera" />
+    <!-- www/plugins.xml -->
+    <feature name="Camera">
+        <param name="blackberry-package" value="org.apache.cordova.camera.Camera" />
+    </feature>
 
-    # www/config.xml
+    <!-- www/config.xml -->
     <feature id="blackberry.media.camera" />
 
     <rim:permissions>
@@ -64,12 +68,14 @@ platform-specific configuration settings described below:
 
 * iOS
 
-    # config.xml
-    <plugin name="Camera" value="CDVCamera" />
+    <!-- config.xml -->
+    <feature name="Camera">
+        <param name="ios-package" value="CDVCamera" />
+    </feature>
 
 * Windows Phone
 
-    # Properties/WPAppManifest.xml
+    <!-- Properties/WPAppManifest.xml -->
     <Capabilities>
         <Capability Name="ID_CAP_ISV_CAMERA" />
         <Capability Name="ID_HW_FRONTCAMERA" />
@@ -79,7 +85,7 @@ Reference: [Application Manifest for Windows Phone](http://msdn.microsoft.com/en
 
 * Tizen
 
-    # config.xml
+    <!-- config.xml -->
     <feature name="http://tizen.org/api/application" required="true"/>
     <feature name="http://tizen.org/api/application.launch" required="true"/>
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/7b8a92b6/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 31ef597..fdd3096 100755
--- a/docs/en/edge/cordova/compass/compass.md
+++ b/docs/en/edge/cordova/compass/compass.md
@@ -53,8 +53,10 @@ platform-specific configuration settings described below:
 
 * Android
 
-    # app/res/xml/config.xml
-    <plugin name="Compass" value="org.apache.cordova.CompassListener" />
+    <!-- app/res/xml/config.xml -->
+    <feature name="Compass">
+        <param name="android-package" value="org.apache.cordova.CompassListener" />
+    </feature>
 
 * BlackBerry WebWorks
 
@@ -62,12 +64,14 @@ platform-specific configuration settings described below:
 
 * iOS
 
-    # config.xml
-    <plugin name="Compass" value="CDVLocation" />
+    <!-- config.xml -->
+    <feature name="Compass">
+        <param name="ios-package" value="CDVLocation" />
+    </feature>
 
 * Windows Phone
 
-    # Properties/WPAppManifest.xml
+    <!-- Properties/WPAppManifest.xml -->
     <Capabilities>
         <Capability Name="ID_CAP_SENSORS" />
     </Capabilities>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/7b8a92b6/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 0e5ed1d..c1fcf60 100644
--- a/docs/en/edge/cordova/connection/connection.md
+++ b/docs/en/edge/cordova/connection/connection.md
@@ -53,27 +53,33 @@ platform-specific configuration settings described below:
 
 * Android
 
-    # app/res/xml/config.xml
-    <plugin name="NetworkStatus" value="org.apache.cordova.NetworkManager" />
+    <!-- app/res/xml/config.xml -->
+    <feature name="NetworkStatus">
+        <param name="android-package" value="org.apache.cordova.NetworkManager" />
+    </feature>
 
-    # app/AndroidManifest.xml
+    <!-- app/AndroidManifest.xml -->
     <uses-permission android:name="android.permission.INTERNET" />
     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
     <uses-permission android:name="android.permission.READ_PHONE_STATE" />
 
 * BlackBerry WebWorks
 
-    # www/plugins.xml
-    <plugin name="Network Status" value="org.apache.cordova.network.Network" />
+    <!-- www/plugins.xml -->
+    <feature name="Network Status">
+        <param name="blackberry-package" value="org.apache.cordova.network.Network" />
+    </feature>
 
 * iOS
 
-    # config.xml
-    <plugin name="NetworkStatus" value="CDVConnection" />
+    <!-- config.xml -->
+    <feature name="NetworkStatus">
+        <param name="ios-package" value="CDVConnection" />
+    </feature>
 
 * Windows Phone
 
-    # Properties/WPAppManifest.xml
+    <!-- Properties/WPAppManifest.xml -->
     <Capabilities>
         <Capability Name="ID_CAP_NETWORKING" />
     </Capabilities>
@@ -82,7 +88,7 @@ Reference: [Application Manifest for Windows Phone](http://msdn.microsoft.com/en
 
 * Tizen
 
-    # config.xml
+    <!-- config.xml -->
     <feature name="http://tizen.org/api/systeminfo" required="true"/>
 
 Reference: [Application Manifest for Tizen Web Application](https://developer.tizen.org/help/topic/org.tizen.help.gs/Creating%20a%20Project.html?path=0_1_1_3#8814682_CreatingaProject-EditingconfigxmlFeatures)

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/7b8a92b6/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 ad8c7f8..7e33118 100644
--- a/docs/en/edge/cordova/contacts/contacts.md
+++ b/docs/en/edge/cordova/contacts/contacts.md
@@ -63,20 +63,24 @@ platform-specific configuration settings described below:
 
 * Android
 
-    # app/res/xml/config.xml
-    <plugin name="Contacts" value="org.apache.cordova.ContactManager" />
+    <!-- app/res/xml/config.xml -->
+    <feature name="Contacts">
+        <param name="android-package" value="org.apache.cordova.ContactManager" />
+    </feature>
 
-    # app/AndroidManifest.xml
+    <!-- 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" />
 
 * BlackBerry WebWorks
 
-    # www/plugins.xml
-    <plugin name="Contact" value="org.apache.cordova.pim.Contact" />
+    <!-- www/plugins.xml -->
+    <feature name="Contact">
+        <param name="blackberry-package" value="org.apache.cordova.pim.Contact" />
+    </feature>
 
-    # www/config.xml
+    <!-- www/config.xml -->
     <feature id="blackberry.find"        required="true" version="1.0.0.0" />
     <feature id="blackberry.identity"    required="true" version="1.0.0.0" />
     <feature id="blackberry.pim.Address" required="true" version="1.0.0.0" />
@@ -84,12 +88,14 @@ platform-specific configuration settings described below:
 
 * iOS
 
-    # config.xml
-    <plugin name="Contacts" value="CDVContacts" />
+    <!-- config.xml -->
+    <feature name="Contacts">
+        <param name="ios-package" value="CDVContacts" />
+    </feature>
 
 * Windows Phone
 
-    # Properties/WPAppManifest.xml
+    <!-- Properties/WPAppManifest.xml -->
     <Capabilities>
         <Capability Name="ID_CAP_CONTACTS" />
     </Capabilities>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/7b8a92b6/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 ffbfaef..ced2c76 100644
--- a/docs/en/edge/cordova/device/device.md
+++ b/docs/en/edge/cordova/device/device.md
@@ -55,18 +55,22 @@ platform-specific configuration settings described below:
 
 * Android
 
-    # app/res/xml/config.xml
-    <plugin name="Device" value="org.apache.cordova.Device" />
+    <!-- app/res/xml/config.xml -->
+    <feature name="Device">
+        <param name="android-package" value="org.apache.cordova.Device" />
+    </feature>
 
-    # app/AndroidManifest.xml
+    <!-- app/AndroidManifest.xml -->
     <uses-permission android:name="android.permission.READ_PHONE_STATE" />
 
 * BlackBerry WebWorks
 
-    # www/plugins.xml
-    <plugin name="Device" value="org.apache.cordova.device.Device" />
+    <!-- www/plugins.xml -->
+    <feature name="Device">
+        <param name="blackberry-package" value="org.apache.cordova.device.Device" />
+    </feature>
 
-    # www/config.xml
+    <!-- www/config.xml -->
     <feature id="blackberry.app" required="true" version="1.0.0.0" />
     <rim:permissions>
         <rim:permit>read_device_identifying_information</rim:permit>
@@ -78,7 +82,7 @@ platform-specific configuration settings described below:
 
 * Windows Phone
 
-    # Properties/WPAppManifest.xml
+    <!-- Properties/WPAppManifest.xml -->
     <Capabilities>
         <Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
         <Capability Name="ID_CAP_IDENTITY_DEVICE" />
@@ -89,7 +93,7 @@ Reference: [Application Manifest for Windows Phone](http://msdn.microsoft.com/en
 
 * Tizen
 
-    # config.xml
+    <!-- config.xml -->
     <feature name="http://tizen.org/api/systeminfo" required="true"/>
 
 Reference: [Application Manifest for Tizen Web Application](https://developer.tizen.org/help/topic/org.tizen.help.gs/Creating%20a%20Project.html?path=0_1_1_3#8814682_CreatingaProject-EditingconfigxmlFeatures)

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/7b8a92b6/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 8e471f3..eb51584 100644
--- a/docs/en/edge/cordova/events/events.md
+++ b/docs/en/edge/cordova/events/events.md
@@ -45,26 +45,32 @@ Event Types
 
 * Android
 
-    # app/res/xml/config.xml
-    <plugin name="Battery" value="org.apache.cordova.BatteryListener" />
+    <!-- app/res/xml/config.xml -->
+    <feature name="Battery">
+        <param name="android-package" value="org.apache.cordova.BatteryListener" />
+    </feature>
 
-    # app/AndroidManifest.xml
+    <!-- app/AndroidManifest.xml -->
     <uses-permission android:name="android.permission.BROADCAST_STICKY" />
 
 * BlackBerry WebWorks
 
-    # www/plugins.xml
-    <plugin name="Battery" value="org.apache.cordova.battery.Battery" />
+    <!-- www/plugins.xml -->
+    <feature name="Battery">
+        <param name="blackberry-package" value="org.apache.cordova.battery.Battery" />
+    </feature>
 
-    # www/config.xml
+    <!-- www/config.xml -->
     <feature id="blackberry.app"          required="true" version="1.0.0.0" />
     <feature id="blackberry.app.event"    required="true" version="1.0.0.0" />
     <feature id="blackberry.system.event" required="true" version="1.0.0.0" />
 
 * iOS
 
-    # config.xml
-    <plugin name="Battery" value="CDVBattery" />
+    <!-- config.xml -->
+    <feature name="Battery">
+        <param name="ios-package" value="CDVBattery" />
+    </feature>
 
 * Windows Phone
 
@@ -72,7 +78,7 @@ Event Types
 
 * Tizen
 
-    # config.xml
+    <!-- config.xml -->
     <feature name="http://tizen.org/api/systeminfo" required="true"/>
 
 Reference: [Application Manifest for Tizen Web Application](https://developer.tizen.org/help/topic/org.tizen.help.gs/Creating%20a%20Project.html?path=0_1_1_3#8814682_CreatingaProject-EditingconfigxmlFeatures)

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/7b8a92b6/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 c70c6f9..2a8350b 100644
--- a/docs/en/edge/cordova/file/file.md
+++ b/docs/en/edge/cordova/file/file.md
@@ -55,20 +55,28 @@ platform-specific configuration settings described below:
 
 * Android
 
-    # app/res/xml/config.xml
-    <plugin name="File" value="org.apache.cordova.FileUtils" />
-    <plugin name="FileTransfer" value="org.apache.cordova.FileTransfer" />
-
-    # app/AndroidManifest.xml
+    <!-- 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" />
+    </feature>
+
+    <!-- app/AndroidManifest.xml -->
     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
 
 * BlackBerry WebWorks
 
-    # www/plugins.xml
-    <plugin name="File" value="org.apache.cordova.file.FileManager" />
-    <plugin name="FileTransfer" value="org.apache.cordova.http.FileTransfer" />
+    <!-- www/plugins.xml -->
+    <feature name="File">
+        <param name="blackberry-package" value="org.apache.cordova.file.FileManager" />
+    </feature>
+    <feature name="FileTransfer">
+        <param name="blackberry-package" value="org.apache.cordova.http.FileTransfer"
/>
+    </feature>
 
-    # www/config.xml
+    <!-- www/config.xml -->
     <feature id="blackberry.io.file" required="true" version="1.0.0.0" />
     <feature id="blackberry.utils"   required="true" version="1.0.0.0" />
     <feature id="blackberry.io.dir"  required="true" version="1.0.0.0" />
@@ -78,9 +86,13 @@ platform-specific configuration settings described below:
 
 * iOS
 
-    # config.xml
-    <plugin name="File" value="CDVFile" />
-    <plugin name="FileTransfer" value="CDVFileTransfer" />
+    <!-- config.xml -->
+    <feature name="File">
+        <param name="ios-package" value="CDVFile" />
+    </feature>
+    <feature name="FileTransfer">
+        <param name="ios-package" value="CDVFileTransfer" />
+    </feature>
 
 * Windows Phone
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/7b8a92b6/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 1338479..0f39c66 100644
--- a/docs/en/edge/cordova/geolocation/geolocation.md
+++ b/docs/en/edge/cordova/geolocation/geolocation.md
@@ -70,32 +70,38 @@ platform-specific configuration settings described below:
 
 * Android
 
-    # app/res/xml/config.xml
-    <plugin name="Geolocation" value="org.apache.cordova.GeoBroker" />
+    <!-- app/res/xml/config.xml -->
+    <feature name="Geolocation">
+        <param name="android-package" value="org.apache.cordova.GeoBroker" />
+    </feature>
 
-    # app/AndroidManifest.xml
+    <!-- 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
 
-    # www/plugins.xml
-    <plugin name="Geolocation" value="org.apache.cordova.geolocation.Geolocation" />
+    <!-- www/plugins.xml -->
+    <feature name="Geolocation">
+        <param name="blackberry-package" value="org.apache.cordova.geolocation.Geolocation"
/>
+    </feature>
 
-    # www/config.xml
+    <!-- www/config.xml -->
     <rim:permissions>
         <rim:permit>read_geolocation</rim:permit>
     </rim:permissions>
 
 * iOS
 
-    # config.xml
-    <plugin name="Geolocation" value="CDVLocation" />
+    <!-- config.xml -->
+    <feature name="Geolocation">
+        <param name="ios-package" value="CDVLocation" />
+    </feature>
 
 * Windows Phone
 
-    # Properties/WPAppManifest.xml
+    <!-- Properties/WPAppManifest.xml -->
     <Capabilities>
         <Capability Name="ID_CAP_LOCATION" />
     </Capabilities>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/7b8a92b6/docs/en/edge/cordova/globalization/globalization.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/globalization/globalization.md b/docs/en/edge/cordova/globalization/globalization.md
index 813244c..f9ad81a 100644
--- a/docs/en/edge/cordova/globalization/globalization.md
+++ b/docs/en/edge/cordova/globalization/globalization.md
@@ -67,5 +67,7 @@ platform-specific configuration settings described below:
 
 * Android
 
-    # app/res/xml/config.xml
-    <plugin name="Globalization" value="org.apache.cordova.Globalization" />
+    <!-- app/res/xml/config.xml -->
+    <feature name="Globalization">
+        <param name="android-package" value="org.apache.cordova.Globalization" />
+    </feature>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/7b8a92b6/docs/en/edge/cordova/inappbrowser/inappbrowser.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/inappbrowser/inappbrowser.md b/docs/en/edge/cordova/inappbrowser/inappbrowser.md
index f47ac94..ac5ec14 100644
--- a/docs/en/edge/cordova/inappbrowser/inappbrowser.md
+++ b/docs/en/edge/cordova/inappbrowser/inappbrowser.md
@@ -53,17 +53,21 @@ platform-specific configuration settings described below:
 
 * Android
 
-    # app/res/xml/config.xml
-    <plugin name="InAppBrowser" value="org.apache.cordova.InAppBrowser" />
+    <!-- app/res/xml/config.xml -->
+    <feature name="InAppBrowser">
+        <param name="android-package" value="org.apache.cordova.InAppBrowser" />
+    </feature>
 
 * iOS
 
-    # config.xml
-    <plugin name="InAppBrowser" value="CDVInAppBrowser" />
+    <!-- config.xml -->
+    <feature name="InAppBrowser">
+        <param name="ios-package" value="CDVInAppBrowser" />
+    </feature>
 
 * Windows Phone 7 + 8
 
-    # config.xml
+    <!-- config.xml -->
     <plugin name="InAppBrowser" />
 
 addEventListener

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/7b8a92b6/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 1637ee3..bf8a395 100644
--- a/docs/en/edge/cordova/media/capture/capture.md
+++ b/docs/en/edge/cordova/media/capture/capture.md
@@ -91,30 +91,36 @@ platform-specific configuration settings described below:
 
 * Android
 
-    # app/res/xml/plugins.xml
-    <plugin name="Capture" value="org.apache.cordova.Capture"/>
+    <!-- app/res/xml/plugins.xml -->
+    <feature name="Capture">
+        <param name="android-package" value="org.apache.cordova.Capture" />
+    </feature>
 
-    # app/AndroidManifest.xml
+    <!-- app/AndroidManifest.xml -->
     <uses-permission android:name="android.permission.RECORD_AUDIO" />
     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
 
 * BlackBerry WebWorks
 
-    # www/plugins.xml
-    <plugin name="Capture" value="org.apache.cordova.capture.MediaCapture" />
+    <!-- www/plugins.xml -->
+    <feature name="Capture">
+        <param name="blackberry-package" value="org.apache.cordova.capture.MediaCapture"
/>
+    </feature>
 
-    # www/config.xml
+    <!-- www/config.xml -->
     <feature id="blackberry.system"  required="true" version="1.0.0.0" />
     <feature id="blackberry.io.file" required="true" version="1.0.0.0" />
 
 * iOS
 
-    # config.xml
-    <plugin name="Capture" value="CDVCapture" />
+    <!-- config.xml -->
+    <feature name="Capture">
+        <param name="ios-package" value="CDVCapture" />
+    </feature>
 
 * Windows Phone
 
-    # Properties/WPAppManifest.xml
+    <!-- Properties/WPAppManifest.xml -->
     <Capabilities>
         <Capability Name="ID_CAP_MEDIALIB" />
         <Capability Name="ID_CAP_MICROPHONE" />

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/7b8a92b6/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 ce76c53..f673f38 100644
--- a/docs/en/edge/cordova/media/media.md
+++ b/docs/en/edge/cordova/media/media.md
@@ -93,27 +93,33 @@ platform-specific configuration settings described below:
 
 * Android
 
-    # app/res/xml/config.xml
-    <plugin name="Media" value="org.apache.cordova.AudioHandler" />
+    <!-- app/res/xml/config.xml -->
+    <feature name="Media">
+        <param name="android-package" value="org.apache.cordova.AudioHandler" />
+    </feature>
 
-    # app/AndroidManifest.xml
+    <!-- app/AndroidManifest.xml -->
     <uses-permission android:name="android.permission.RECORD_AUDIO" />
     <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
 
 * BlackBerry WebWorks
 
-    # www/plugins.xml
-    <plugin name="Capture" value="org.apache.cordova.media.MediaCapture" />
+    <!-- www/plugins.xml -->
+    <feature name="Capture">
+        <param name="blackberry-package" value="org.apache.cordova.media.MediaCapture"
/>
+    </feature>
 
 * iOS
 
-    # config.xml
-    <plugin name="Media" value="CDVSound" />
+    <!-- config.xml -->
+    <feature name="Media">
+        <param name="ios-package" value="CDVSound" />
+    </feature>
 
 * Windows Phone
 
-    # Properties/WPAppManifest.xml
+    <!-- Properties/WPAppManifest.xml -->
     <Capabilities>
         <Capability Name="ID_CAP_MEDIALIB" />
         <Capability Name="ID_CAP_MICROPHONE" />

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/7b8a92b6/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 ce0a217..dba157d 100644
--- a/docs/en/edge/cordova/notification/notification.md
+++ b/docs/en/edge/cordova/notification/notification.md
@@ -48,24 +48,30 @@ platform-specific configuration settings described below:
 
 * Android
 
-    # app/res/xml/config.xml
-    <plugin name="Notification" value="org.apache.cordova.Notification"/>
+    <!-- app/res/xml/config.xml -->
+    <feature name="Notification">
+        <param name="android-package" value="org.apache.cordova.Notification" />
+    </feature>
 
-    # app/AndroidManifest.xml
+    <!-- app/AndroidManifest.xml -->
     <uses-permission android:name="android.permission.VIBRATE" />
 
 * BlackBerry WebWorks
 
-    # www/plugins.xml
-    <plugin name="Notification" value="org.apache.cordova.notification.Notification" />
+    <!-- www/plugins.xml -->
+    <feature name="Notification">
+        <param name="blackberry-package" value="org.apache.cordova.notification.Notification"
/>
+    </feature>
 
-    # www/config.xml
+    <!-- www/config.xml -->
     <feature id="blackberry.ui.dialog" />
 
 * iOS
 
-    # config.xml
-    <plugin name="Notification" value="CDVNotification" />
+    <!-- config.xml -->
+    <feature name="Notification">
+        <param name="ios-package" value="CDVNotification" />
+    </feature>
 
 * Windows Phone
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/7b8a92b6/docs/en/edge/cordova/splashscreen/splashscreen.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/splashscreen/splashscreen.md b/docs/en/edge/cordova/splashscreen/splashscreen.md
index 7fe6867..40588d5 100644
--- a/docs/en/edge/cordova/splashscreen/splashscreen.md
+++ b/docs/en/edge/cordova/splashscreen/splashscreen.md
@@ -42,13 +42,17 @@ platform-specific configuration settings described below:
 
 * Android
 
-    # app/res/xml/config.xml
-    <plugin name="SplashScreen" value="org.apache.cordova.SplashScreen"/>
+    <!-- app/res/xml/config.xml -->
+    <feature name="SplashScreen">
+        <param name="android-package" value="org.apache.cordova.SplashScreen" />
+    </feature>
 
 * iOS
 
-    # config.xml
-    <plugin name="SplashScreen" value="CDVSplashScreen" />
+    <!-- config.xml -->
+    <feature name="SplashScreen">
+        <param name="ios-package" value="CDVSplashScreen" />
+    </feature>
 
 Setup
 -----

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/7b8a92b6/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 0ac6641..234523f 100644
--- a/docs/en/edge/cordova/storage/storage.md
+++ b/docs/en/edge/cordova/storage/storage.md
@@ -56,12 +56,14 @@ Objects
 
 * Android
 
-    # app/res/xml/config.xml
-    <plugin name="Storage" value="org.apache.cordova.Storage" />
+    <!-- app/res/xml/config.xml -->
+    <feature name="Storage">
+        <param name="android-package" value="org.apache.cordova.Storage" />
+    </feature>
 
 * BlackBerry WebWorks
 
-    # www/config.xml
+    <!-- www/config.xml -->
     <feature id="blackberry.widgetcache" required="true" version="1.0.0.0" />
 
 * iOS


Mime
View raw message