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

Steve Gill commented on CB-9976:
--------------------------------

Restoring plugins from config.xml works but still has issues with missing 
metadata in cordova_plugins.js and cordova-js-src not being deleted.

Also I think the purpose of storing cordova_plugins.js and plugins/ in 
platform_www was so cordova_plugins.js doesn't have to be generated on every 
prepare. 

The writing of cordova_plugins.js used to happen on every prepare. Now with the 
common workflow, it happens only on plugin add/remove/update and restore. Need 
to add this step back into the prepare step. 

> Updating to cordovaLib 5.4.0 breaks ios installed plugins
> ---------------------------------------------------------
>
>                 Key: CB-9976
>                 URL: https://issues.apache.org/jira/browse/CB-9976
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>            Reporter: Steve Gill
>
> cordova_plugins.js doesn't get created for ios when updating from an older 
> cli to a newer cli. 
> Have to remove and add plugins manually to get plugins working again.
> Reproduce (need to use npm < 3):
> npm install -g [email protected]
> cordova create helloWorld
> cd helloWorld
> cordova platform add ios
> cordova plugin add cordova-plugin-device
> cordova prepare (helloWorld/platforms/ios/www/cordova_plugins.js is created)
> npm install -g [email protected]
> cordova prepare (helloWorld/platforms/ios/www/cordova_plugins.js doesn't 
> exist)
> `helloWorld/platforms/ios/ios.json` is also incorrect in the updated version. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to