[ 
https://issues.apache.org/jira/browse/CB-12458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15942073#comment-15942073
 ] 

ASF GitHub Bot commented on CB-12458:
-------------------------------------

Github user jcesarmobile commented on the issue:

    https://github.com/apache/cordova-plugin-camera/pull/253
  
    A version with the deprecated id of the camera plugin will crash on new 
installs on iOS 10 devices, so everybody using camera plugin should be using at 
least 2.3.1, also 2.2.0 is needed to handle Android 6 permissions.
    
    
    This PR explains what happens when you install the plugin using the new id 
but using an old version of the plugin that used the deprecated id, that 
shouldn't happen nowadays. 
    
    A legacy project that already have the plugin installed, it was installed 
with the old id, so it doesn't need the explanation neither. 
    
    
    Anyway, thanks for the PR! I would like to see you contributing in other 
issues in the future.



> [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 
> [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>
>  {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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to