You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2015/04/23 03:50:44 UTC
docs commit: chaged old plugin id references to new ids
Repository: cordova-docs
Updated Branches:
refs/heads/master 194eaab59 -> d68fe6e82
chaged old plugin id references to new ids
Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/d68fe6e8
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/d68fe6e8
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/d68fe6e8
Branch: refs/heads/master
Commit: d68fe6e820ae01bf859997efb1c7871ef7a0b10b
Parents: 194eaab
Author: Steve Gill <st...@gmail.com>
Authored: Wed Apr 22 18:50:24 2015 -0700
Committer: Steve Gill <st...@gmail.com>
Committed: Wed Apr 22 18:50:24 2015 -0700
----------------------------------------------------------------------
docs/en/edge/cordova/events/events.md | 4 +-
docs/en/edge/cordova/plugins/pluginapis.md | 50 ++++++++++---------
docs/en/edge/guide/cli/index.md | 52 ++++++++++----------
docs/en/edge/guide/hybrid/plugins/index.md | 2 +-
docs/en/edge/guide/platforms/firefoxos/index.md | 4 +-
docs/en/edge/guide/platforms/ubuntu/index.md | 2 +-
docs/en/edge/plugin_ref/plugman.md | 38 +++++++-------
7 files changed, 79 insertions(+), 73 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/d68fe6e8/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 ed7984c..16c058b 100644
--- a/docs/en/edge/cordova/events/events.md
+++ b/docs/en/edge/cordova/events/events.md
@@ -34,13 +34,13 @@
- volumedownbutton
- volumeupbutton
-## Events added by [org.apache.cordova.battery-status](https://github.com/apache/cordova-plugin-battery-status/blob/master/doc/index.md)
+## Events added by [cordova-plugin-battery-status](https://github.com/apache/cordova-plugin-battery-status/blob/master/README.md)
- batterycritical
- batterylow
- batterystatus
-## Events added by [org.apache.cordova.network-information](https://github.com/apache/cordova-plugin-network-information/blob/master/doc/index.md)
+## Events added by [cordova-plugin-network-information](https://github.com/apache/cordova-plugin-network-information/blob/master/README.md)
- online
- offline
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/d68fe6e8/docs/en/edge/cordova/plugins/pluginapis.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/plugins/pluginapis.md b/docs/en/edge/cordova/plugins/pluginapis.md
index 520c1b4..44f6efe 100644
--- a/docs/en/edge/cordova/plugins/pluginapis.md
+++ b/docs/en/edge/cordova/plugins/pluginapis.md
@@ -21,67 +21,73 @@ license: Licensed to the Apache Software Foundation (ASF) under one
Cordova ships with a minimal set of APIs, and projects add what extra APIs they require through plugins.
-You can search through all existing plugins (including third-party plugins) using the [Plugin Registry](http://plugins.cordova.io/).
+You can search through all existing plugins (including third-party plugins) on [npm](https://www.npmjs.com/search?q=ecosystem%3Acordova).
The traditional set of core Cordova plugins are as follows:
-- [Battery Status](http://plugins.cordova.io/#/package/org.apache.cordova.battery-status)
+- [Battery Status](https://www.npmjs.com/package/cordova-plugin-battery-status)
> Monitor the status of the device's battery.
-- [Camera](http://plugins.cordova.io/#/package/org.apache.cordova.camera)
+- [Camera](https://www.npmjs.com/package/cordova-plugin-camera)
> Capture a photo using the device's camera.
-- [Console](http://plugins.cordova.io/#/package/org.apache.cordova.console)
+- [Console](https://www.npmjs.com/package/cordova-plugin-console)
> Add additional capability to console.log().
-- [Contacts](http://plugins.cordova.io/#/package/org.apache.cordova.contacts)
+- [Contacts](https://www.npmjs.com/package/cordova-plugin-contacts)
> Work with the devices contact database.
-- [Device](http://plugins.cordova.io/#/package/org.apache.cordova.device)
+- [Device](https://www.npmjs.com/package/cordova-plugin-device)
> Gather device specific information.
-- [Device Motion (Accelerometer)](http://plugins.cordova.io/#/package/org.apache.cordova.device-motion)
+- [Device Motion (Accelerometer)](https://www.npmjs.com/package/cordova-plugin-device-motion)
> Tap into the device's motion sensor.
-- [Device Orientation (Compass)](http://plugins.cordova.io/#/package/org.apache.cordova.device-orientation)
+- [Device Orientation (Compass)](https://www.npmjs.com/package/cordova-plugin-device-orientation)
> Obtain the direction that the device is pointing.
-- [Dialogs](http://plugins.cordova.io/#/package/org.apache.cordova.dialogs)
+- [Dialogs](https://www.npmjs.com/package/cordova-plugin-dialogs)
> Visual device notifications.
-- [FileSystem](http://plugins.cordova.io/#/package/org.apache.cordova.file)
+- [FileSystem](https://www.npmjs.com/package/cordova-plugin-file)
> Hook into native file system through JavaScript.
-- [File Transfer](http://plugins.cordova.io/#/package/org.apache.cordova.file-transfer)
+- [File Transfer](https://www.npmjs.com/package/cordova-plugin-file-transfer)
> Hook into native file system through JavaScript.
-- [Geolocation](http://plugins.cordova.io/#/package/org.apache.cordova.geolocation)
+- [Geolocation](https://www.npmjs.com/package/cordova-plugin-geolocation)
> Make your application location aware.
-- [Globalization](http://plugins.cordova.io/#/package/org.apache.cordova.globalization)
+- [Globalization](https://www.npmjs.com/package/cordova-plugin-globalization)
> Enable representation of objects specific to a locale.
-- [InAppBrowser](http://plugins.cordova.io/#/package/org.apache.cordova.inappbrowser)
+- [InAppBrowser](https://www.npmjs.com/package/cordova-plugin-inappbrowser)
> Launch URLs in another in-app browser instance.
-- [Media](http://plugins.cordova.io/#/package/org.apache.cordova.media)
+- [Media](https://www.npmjs.com/package/cordova-plugin-media)
> Record and play back audio files.
-- [Media Capture](http://plugins.cordova.io/#/package/org.apache.cordova.media-capture)
+- [Media Capture](https://www.npmjs.com/package/cordova-plugin-media-capture)
> Capture media files using device's media capture applications.
-- [Network Information (Connection)](http://plugins.cordova.io/#/package/org.apache.cordova.network-information)
+- [Network Information (Connection)](https://www.npmjs.com/package/cordova-plugin-network-information)
> Quickly check the network state, and cellular network information.
-- [Splashscreen](http://plugins.cordova.io/#/package/org.apache.cordova.splashscreen)
+- [Splashscreen](https://www.npmjs.com/package/cordova-plugin-splashscreen)
> Show and hide the applications splash screen.
-- [Vibration](http://plugins.cordova.io/#/package/org.apache.cordova.vibration)
+- [Vibration](https://www.npmjs.com/package/cordova-plugin-vibration)
> An API to vibrate the device.
-- [StatusBar](https://github.com/apache/cordova-plugin-statusbar/blob/master/doc/index.md)
+- [StatusBar](https://www.npmjs.com/package/cordova-plugin-statusbar)
> An API for showing, hiding and configuring status bar background.
-Non-English translations of these plugin docs can be found by looking at older versions of the Cordova documentation.
-Use the drop-down menu at the very top-right of this site to switch versions.
+- [Whitelist](https://www.npmjs.com/package/cordova-plugin-whitelist)
+> A plugin to whitelist network requests. Must install to have any network requests in your applications.
+- [Legacy Whitelist](https://www.npmjs.com/package/cordova-plugin-legacy-whitelist)
+> A plugin to use the old style of whitelist before it was ripped out and changed in the whitelist plugin.
+
+
+
+Non-English translations of these plugin docs can be found by going to the plugin github repos and looking in the docs folder
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/d68fe6e8/docs/en/edge/guide/cli/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/cli/index.md b/docs/en/edge/guide/cli/index.md
index fda0fa0..272dd11 100644
--- a/docs/en/edge/guide/cli/index.md
+++ b/docs/en/edge/guide/cli/index.md
@@ -322,7 +322,7 @@ both terms as case-insensitive substrings:
Searching for only the `bar` term yields and additional result:
- org.apache.cordova.statusbar - Cordova StatusBar Plugin
+ cordova-plugin-statusbar - Cordova StatusBar Plugin
The `cordova plugin add` command requires you to specify the
repository for the plugin code. Here are examples of how you might
@@ -330,54 +330,54 @@ use the CLI to add features to the app:
* Basic device information (Device API):
- $ cordova plugin add org.apache.cordova.device
+ $ cordova plugin add cordova-plugin-device
* Network Connection and Battery Events:
- $ cordova plugin add org.apache.cordova.network-information
- $ cordova plugin add org.apache.cordova.battery-status
+ $ cordova plugin add cordova-plugin-network-information
+ $ cordova plugin add cordova-plugin-battery-status
* Accelerometer, Compass, and Geolocation:
- $ cordova plugin add org.apache.cordova.device-motion
- $ cordova plugin add org.apache.cordova.device-orientation
- $ cordova plugin add org.apache.cordova.geolocation
+ $ cordova plugin add cordova-plugin-device-motion
+ $ cordova plugin add cordova-plugin-device-orientation
+ $ cordova plugin add cordova-plugin-geolocation
* Camera, Media playback and Capture:
- $ cordova plugin add org.apache.cordova.camera
- $ cordova plugin add org.apache.cordova.media-capture
- $ cordova plugin add org.apache.cordova.media
+ $ cordova plugin add cordova-plugin-camera
+ $ cordova plugin add cordova-plugin-media-capture
+ $ cordova plugin add cordova-plugin-media
* Access files on device or network (File API):
- $ cordova plugin add org.apache.cordova.file
- $ cordova plugin add org.apache.cordova.file-transfer
+ $ cordova plugin add cordova-plugin-file
+ $ cordova plugin add cordova-plugin-file-transfer
* Notification via dialog box or vibration:
- $ cordova plugin add org.apache.cordova.dialogs
- $ cordova plugin add org.apache.cordova.vibration
+ $ cordova plugin add cordova-plugin-dialogs
+ $ cordova plugin add cordova-plugin-vibration
* Contacts:
- $ cordova plugin add org.apache.cordova.contacts
+ $ cordova plugin add cordova-plugin-contacts
* Globalization:
- $ cordova plugin add org.apache.cordova.globalization
+ $ cordova plugin add cordova-plugin-globalization
* Splashscreen:
- $ cordova plugin add org.apache.cordova.splashscreen
+ $ cordova plugin add cordova-plugin-splashscreen
* Open new browser windows (InAppBrowser):
- $ cordova plugin add org.apache.cordova.inappbrowser
+ $ cordova plugin add cordova-plugin-inappbrowser
* Debug console:
- $ cordova plugin add org.apache.cordova.console
+ $ cordova plugin add cordova-plugin-console
__NOTE__: The CLI adds plugin code as appropriate for each platform.
If you want to develop with lower-level shell tools or platform SDKs
@@ -389,19 +389,19 @@ Use `plugin ls` (or `plugin list`, or `plugin` by itself) to view
currently installed plugins. Each displays by its identifier:
$ cordova plugin ls # or 'plugin list'
- [ 'org.apache.cordova.console' ]
+ [ 'cordova-plugin-console' ]
To remove a plugin, refer to it by the same identifier that appears in
the listing. For example, here is how you would remove support for a
debug console from a release version:
- $ cordova plugin rm org.apache.cordova.console
- $ cordova plugin remove org.apache.cordova.console # same
+ $ cordova plugin rm cordova-plugin-console
+ $ cordova plugin remove cordova-plugin-console # same
You can batch-remove or add plugins by specifying more than one
argument for each command:
- $ cordova plugin add org.apache.cordova.console org.apache.cordova.device
+ $ cordova plugin add cordova-plugin-console cordova-plugin-device
## Advanced Plugin Options
@@ -410,14 +410,14 @@ to fetch the plugin. The examples above use a well-known
`registry.cordova.io` registry, and the plugin is specified by the
`id`:
- $ cordova plugin add org.apache.cordova.console
+ $ cordova plugin add cordova-plugin-console
The `id` may also include the plugin's version number, appended after
an `@` character. The `latest` version is an alias for the most recent
version. For example:
- $ cordova plugin add org.apache.cordova.console@latest
- $ cordova plugin add org.apache.cordova.console@0.2.1
+ $ cordova plugin add cordova-plugin-console@latest
+ $ cordova plugin add cordova-plugin-console@0.2.1
If the plugin is not registered at `registry.cordova.io` but is located in
another git repository, you can specify an alternate URL:
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/d68fe6e8/docs/en/edge/guide/hybrid/plugins/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/hybrid/plugins/index.md b/docs/en/edge/guide/hybrid/plugins/index.md
index 92b7dee..1a5ab14 100644
--- a/docs/en/edge/guide/hybrid/plugins/index.md
+++ b/docs/en/edge/guide/hybrid/plugins/index.md
@@ -61,7 +61,7 @@ the `Device` plugin provides a simple example to use as a model:
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
- id="org.apache.cordova.device" version="0.2.3">
+ id="cordova-plugin-device" version="0.2.3">
<name>Device</name>
<description>Cordova Device Plugin</description>
<license>Apache 2.0</license>
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/d68fe6e8/docs/en/edge/guide/platforms/firefoxos/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/platforms/firefoxos/index.md b/docs/en/edge/guide/platforms/firefoxos/index.md
index e97f539..2e3e004 100644
--- a/docs/en/edge/guide/platforms/firefoxos/index.md
+++ b/docs/en/edge/guide/platforms/firefoxos/index.md
@@ -47,8 +47,8 @@ This creates a Firefox OS app in platforms/firefoxos/www directory, which curren
At this point you are ready to go — change the code inside test-app/www to whatever you want your app to be. You can add [supported plugins]() to the app using "cordova plugin add", for example:
- cordova plugin add org.apache.cordova.device
- cordova plugin add org.apache.cordova.vibration
+ cordova plugin add cordova-plugin-device
+ cordova plugin add cordova-plugin-vibration
When your app code is written, deploy your changes to the Firefox OS app you've added to your project with
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/d68fe6e8/docs/en/edge/guide/platforms/ubuntu/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/platforms/ubuntu/index.md b/docs/en/edge/guide/platforms/ubuntu/index.md
index 29818af..c08e4f7 100644
--- a/docs/en/edge/guide/platforms/ubuntu/index.md
+++ b/docs/en/edge/guide/platforms/ubuntu/index.md
@@ -97,5 +97,5 @@ Creates an app in a `hello` directory whose display name is
### Add the Camera Plugin
- $ cordova plugin add org.apache.cordova.camera
+ $ cordova plugin add cordova-plugin-camera
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/d68fe6e8/docs/en/edge/plugin_ref/plugman.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/plugin_ref/plugman.md b/docs/en/edge/plugin_ref/plugman.md
index 359111b..ccf6124 100644
--- a/docs/en/edge/plugin_ref/plugman.md
+++ b/docs/en/edge/plugin_ref/plugman.md
@@ -107,7 +107,7 @@ You can also append the `--debug|-d` flag to any Plugman command to run that com
any internal debugging messages as they are emitted and may help you track down problems like missing files.
# Adding Android battery-status plugin to "myProject":
- plugman -d --platform android --project myProject --plugin org.apache.cordova.battery-status
+ plugman -d --platform android --project myProject --plugin cordova-plugin-battery-status
Finally, you can use the `--version|-v` flag to see which version of Plugman you are using.
@@ -149,55 +149,55 @@ platform, and reference the platform's project directory.
* cordova-plugin-battery-status
- plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin org.apache.cordova.battery-status
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin cordova-plugin-battery-status
* cordova-plugin-camera
- plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin org.apache.cordova.camera
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin cordova-plugin-camera
* cordova-plugin-console
- plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin org.apache.cordova.console
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin cordova-plugin-console
* cordova-plugin-contacts
- plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin org.apache.cordova.contacts
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin cordova-plugin-contacts
* cordova-plugin-device
- plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin org.apache.cordova.device
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin cordova-plugin-device
* cordova-plugin-device-motion (accelerometer)
- plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin org.apache.cordova.device-motion
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin cordova-plugin-device-motion
* cordova-plugin-device-orientation (compass)
- plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin org.apache.cordova.device-orientation
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin cordova-plugin-device-orientation
* cordova-plugin-dialogs
- plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin org.apache.cordova.dialogs
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin cordova-plugin-dialogs
* cordova-plugin-file
- plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin org.apache.cordova.file
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin cordova-plugin-file
* cordova-plugin-file-transfer
- plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin org.apache.cordova.file-transfer
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin cordova-plugin-file-transfer
* cordova-plugin-geolocation
- plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin org.apache.cordova.geolocation
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin cordova-plugin-geolocation
* cordova-plugin-globalization
- plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin org.apache.cordova.globalization
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin cordova-plugin-globalization
* cordova-plugin-inappbrowser
- plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin org.apache.cordova.inappbrowser
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin cordova-plugin-inappbrowser
* cordova-plugin-media
- plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin org.apache.cordova.media
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin cordova-plugin-media
* cordova-plugin-media-capture
- plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin org.apache.cordova.media-capture
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin cordova-plugin-media-capture
* cordova-plugin-network-information
- plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin org.apache.cordova.network-information
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin cordova-plugin-network-information
* cordova-plugin-splashscreen
- plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin org.apache.cordova.splashscreen
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin cordova-plugin-splashscreen
* cordova-plugin-vibration
- plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin org.apache.cordova.vibration
+ plugman --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin cordova-plugin-vibration
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org