[ https://issues.apache.org/jira/browse/CB-12458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928936#comment-15928936 ]
Camila Macedo commented on CB-12458: ------------------------------------ [~jcesarmobile]Could you approve and merge now? > [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 > Components: Plugin Camera > 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 )* > {code} > 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 > cordova-plugin-camera@0.2.7 --save > Fetching plugin "cordova-plugin-camera@0.2.7" 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> > {code} > *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: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org