[
https://issues.apache.org/jira/browse/CB-12458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15866959#comment-15866959
]
jcesarmobile edited comment on CB-12458 at 2/15/17 12:00 AM:
-------------------------------------------------------------
Hello [~camilamacedo86]
For future issues, please, don't close them until the PR is merged. It's harder
to track closed issues.
I don't fully understand the issue or the change on the PR you sent
{quote}
Older versions of cordova can still install via the __deprecated__ id
cordova plugin add org.apache.cordova.camera
{quote}
This means that if you use a Cordova CLI version < 5 you can still install
plugins using the old deprecated id as it's translated by the CLI to the new
one but that doesn't happen on Cordova CLI 5+, I don't see how your addition
makes it more clear.
was (Author: jcesarmobile):
Hello [~camilamacedo86]
For future issues, please, don't close them until the PR is merged.
I don't fully understand the issue or the change on the PR you sent
{quote}
Older versions of cordova can still install via the __deprecated__ id
cordova plugin add org.apache.cordova.camera
{quote}
This means that if you use a Cordova CLI version < 5 you can still install
plugins using the old deprecated id as it's translated by the CLI to the new
one but that doesn't happen on Cordova CLI 5+, I don't see how your addition
makes it more clear.
> [cordova-plugin-camera] - The information about old versions of the plugin
> install the deprecated ID is missing in the README
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: CB-12458
> URL: https://issues.apache.org/jira/browse/CB-12458
> Project: Apache Cordova
> Issue Type: Bug
> Reporter: Camila Macedo
> Labels: camera, plugin, readme
>
> The information about old versions of the plugin install the deprecated ID is
> missing in the README of the cordova-plugin-camera
> (https://github.com/apache/cordova-plugin-camera)
> *Example:*
> *Add plugin without defining the version of the plugin. ( lastest )*
>
> dhcp-17-22:01789921-Cordova-App cmacedo$ cordova plugin add
> cordova-plugin-camera --save
> Saved plugin info for "cordova-plugin-camera" to config.xml
> dhcp-17-22:01789921-Cordova-App cmacedo$ cat config.xml
> <?xml version='1.0' encoding='utf-8'?>
> <widget id="org.feedhenry.art.cordova.blank" version="0.0.1"
> xmlns="http://www.w3.org/ns/widgets"
> xmlns:cdv="http://cordova.apache.org/ns/1.0">
> <name>Blank App</name>
> <description>
> This is an hybrid app, built using Cordova
> </description>
> <content src="index.html" />
> <access origin="*" />
> <preference name="fullscreen" value="true" />
> <preference name="webviewbounce" value="true" />
> <plugin name="cordova-plugin-whitelist" spec="1.2.0" />
> <plugin name="cordova-plugin-network-information" spec="~1.3.1" />
> <plugin name="cordova-plugin-camera" spec="~2.3.1" />
> </widget>
> *Add plugin with the definition of the version as 0.2.7.*
> dhcp-17-22:CordovaHello-Cordova-App cmacedo$ cordova plugin add
> [email protected] --save
> Fetching plugin "[email protected]" via npm
> Saved plugin info for "org.apache.cordova.camera" to config.xml
> dhcp-17-22:CordovaHello-Cordova-App cmacedo$ cat config.xml
> <?xml version='1.0' encoding='utf-8'?>
> <widget id="org.feedhenry.art.cordova.blank" version="0.0.1"
> xmlns="http://www.w3.org/ns/widgets"
> xmlns:cdv="http://cordova.apache.org/ns/1.0">
> <name>Blank App</name>
> <description>
> This is an hybrid app, built using Cordova
> </description>
> <content src="index.html" />
> <access origin="*" />
> <preference name="fullscreen" value="true" />
> <preference name="webviewbounce" value="true" />
> <plugin name="cordova-plugin-whitelist" spec="1.2.0" />
> <plugin name="cordova-plugin-device" spec="~1.1.4" />
> <plugin name="cordova-plugin-network-information" spec="~1.3.1" />
> <plugin name="org.apache.cordova.camera" spec="~0.2.7" />
> </widget>
> *Cordova CLI tool used*
> dhcp-17-22:CordovaHello-Cordova-App cmacedo$ cordova -g -v
> 6.4.0
> *Point of the documentation*
> Installation
> This requires cordova 5.0+
> cordova plugin add cordova-plugin-camera
> Older versions of cordova can still install via the deprecated id
> cordova plugin add org.apache.cordova.camera
> It is also possible to install via repo url directly ( unstable )
> cordova plugin add https://github.com/apache/cordova-plugin-camera.git
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]