[jira] [Commented] (CB-9976) Updating to cordovaLib 5.4.0 breaks ios installed plugins

2016-02-12 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-9976:
--

[~tl274n], Android issue has been reported in CB-10138. The fix is in master 
already and will be available in next cordova-android release

> 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
>Assignee: Vladimir Kotikov
> Fix For: 5.4.1
>
>
> 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 cordova@5.3.3
> 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 cordova@5.4.0
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9976) Updating to cordovaLib 5.4.0 breaks ios installed plugins

2016-02-09 Thread Tony Leung (JIRA)

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

Tony Leung commented on CB-9976:


Cordova 6.0.0 for Android platform 5.1.0 has the same problem too. 
cordova_plugins.js between // TOP OF METADATA and // BOTTOM OF METADATA section 
are empty inside.

> 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
>Assignee: Vladimir Kotikov
> Fix For: 5.4.1
>
>
> 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 cordova@5.3.3
> 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 cordova@5.4.0
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9976) Updating to cordovaLib 5.4.0 breaks ios installed plugins

2015-12-01 Thread JIRA

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

Frederico Costa Galvão commented on CB-9976:


Unfortunatelly this isn't completely fixed. See CB-10108 for details.

> 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
>Assignee: Vladimir Kotikov
> Fix For: 5.4.1
>
>
> 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 cordova@5.3.3
> 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 cordova@5.4.0
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9976) Updating to cordovaLib 5.4.0 breaks ios installed plugins

2015-11-19 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-9976:
-

Commit 874a44fec208abce3ec663c9b4175be5cdafeb2f in cordova-lib's branch 
refs/heads/5.4.x from [~vladimir.kotikov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=874a44f ]

CB-9976 Reinstall plugins for platform if they were installed with 
cordova@<5.4.0. This closes #344


> 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
>Assignee: Vladimir Kotikov
> Fix For: 5.4.1
>
>
> 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 cordova@5.3.3
> 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 cordova@5.4.0
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9976) Updating to cordovaLib 5.4.0 breaks ios installed plugins

2015-11-18 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9976:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-lib/pull/344


> 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
>Assignee: Vladimir Kotikov
>
> 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 cordova@5.3.3
> 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 cordova@5.4.0
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9976) Updating to cordovaLib 5.4.0 breaks ios installed plugins

2015-11-18 Thread Roberto Andrade (JIRA)

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

Roberto Andrade commented on CB-9976:
-

Is this planned to be on 
[5.4.1|https://issues.apache.org/jira/browse/CB/fixforversion/12334172]?

> 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
>Assignee: Vladimir Kotikov
>
> 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 cordova@5.3.3
> 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 cordova@5.4.0
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9976) Updating to cordovaLib 5.4.0 breaks ios installed plugins

2015-11-18 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-9976:
-

Commit fcb612fcbf8e74b709cab96c81e792c2df6ed53b in cordova-lib's branch 
refs/heads/master from [~vladimir.kotikov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=fcb612f ]

CB-9976 Reinstall plugins for platform if they were installed with 
cordova@<5.4.0. This closes #344


> 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
>Assignee: Vladimir Kotikov
>
> 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 cordova@5.3.3
> 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 cordova@5.4.0
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9976) Updating to cordovaLib 5.4.0 breaks ios installed plugins

2015-11-18 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-9976:


Yes

> 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
>Assignee: Vladimir Kotikov
> Fix For: 5.4.1
>
>
> 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 cordova@5.3.3
> 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 cordova@5.4.0
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9976) Updating to cordovaLib 5.4.0 breaks ios installed plugins

2015-11-17 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9976:


Github user stevengill commented on the pull request:

https://github.com/apache/cordova-lib/pull/344#issuecomment-157569576
  
LGTM


> 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
>Assignee: Vladimir Kotikov
>
> 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 cordova@5.3.3
> 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 cordova@5.4.0
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9976) Updating to cordovaLib 5.4.0 breaks ios installed plugins

2015-11-17 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9976:


Github user vladimir-kotikov commented on the pull request:

https://github.com/apache/cordova-lib/pull/344#issuecomment-157312145
  
Thanks, @TimBarham. The commit itself also had a wrong JIRA prefix. Updated.


> 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
>Assignee: Vladimir Kotikov
>
> 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 cordova@5.3.3
> 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 cordova@5.4.0
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9976) Updating to cordovaLib 5.4.0 breaks ios installed plugins

2015-11-16 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-9976:
--

I vote for second option here with a small update - reinstall plugins for 
platforms (not for the whole project). Reinstalling IMO should be safe, since 
we treating platform as a build artifacts. Also readding plugins will trigger 
regenerating {{cordova_plugins.js}}, so correct metadata will be added 
automatically, without need for calling {{_writePluginModules}} in prepare.

Here is the proposed fix: https://issues.apache.org/jira/browse/CB-9976

> 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
>Assignee: 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 cordova@5.3.3
> 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 cordova@5.4.0
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9976) Updating to cordovaLib 5.4.0 breaks ios installed plugins

2015-11-16 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-9976:


Vlad meant https://github.com/apache/cordova-lib/pull/344


> 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
>Assignee: 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 cordova@5.3.3
> 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 cordova@5.4.0
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9976) Updating to cordovaLib 5.4.0 breaks ios installed plugins

2015-11-16 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-9976:


[~gregavola] can you give more details about your issue with merges?

> 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
>Assignee: Vladimir Kotikov
>
> 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 cordova@5.3.3
> 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 cordova@5.4.0
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9976) Updating to cordovaLib 5.4.0 breaks ios installed plugins

2015-11-13 Thread Greg (JIRA)

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

Greg commented on CB-9976:
--

[~stevegill] I've also noticed that changes in iOS into the merges/* directory 
to do not stick when you makes changes to them. `cordova build ios` wipes out 
their changes (even if I change in my local `www/*` directory.

> 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
>Assignee: 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 cordova@5.3.3
> 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 cordova@5.4.0
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9976) Updating to cordovaLib 5.4.0 breaks ios installed plugins

2015-11-13 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-9976:


Potential implementation in lib to handle this bug:

1) check if plugins/ios.json exists
2) if it exists, merge installed plugins + config munge and add to new ios.json 
(located in platforms/ios/ios.json)
3) Run _writePluginModule function from PlatformApiPoly.js to generate new 
cordova_plugins.json
4) copy plugin js files from plugins/ into platforms/ios/platform_www/plugins
5) delete plugins/ios.json

Alternative:
1) check if plugins/ios.json exists, 
2) remove installed plugins, reinstall them
This could have unintended consequences (what if you edited native plugin files 
in your project?)

2nd Alternative:
1) update PlatformAPI polyfill to use plugins/ios.json instead of 
platforms/ios/ios.json. 
2) copy plugins/ on prepare like it used to work instead of on 
install/update/rm/restore.

> 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
>Assignee: 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 cordova@5.3.3
> 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 cordova@5.4.0
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9976) Updating to cordovaLib 5.4.0 breaks ios installed plugins

2015-11-11 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-9976:


Looks like cordova_plugins.js isn't getting its metadata field filled either.

Also, cordova-js-src isn't being removed from platform's www directories ex 
platforms/ios/www

> 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, dovaLib
>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 cordova@5.3.3
> 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 cordova@5.4.0
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9976) Updating to cordovaLib 5.4.0 breaks ios installed plugins

2015-11-11 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-9976:


Thanks for all of the debugging! Very useful stuff. This is related to 
cordova-common change. Trying to track it down

> 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, dovaLib
>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 cordova@5.3.3
> 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 cordova@5.4.0
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9976) Updating to cordovaLib 5.4.0 breaks ios installed plugins

2015-11-11 Thread Steve Gill (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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 cordova@5.3.3
> 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 cordova@5.4.0
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9976) Updating to cordovaLib 5.4.0 breaks ios installed plugins

2015-11-11 Thread JIRA

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

Frederico Costa Galvão commented on CB-9976:


This is not an issue with npm < 3, nor is it only on iOS.
I was able to reproduce this on 2 different environments:

* Linux Xubuntu 13.10 x86_64, \{node -v === 0.12.1\} \{npm -v === 3.3.12\}
* Windows 10 x86_64, \{node -v === 4.2.2\} \{npm -v === 2.14.7\}

Steps to reproduce on both environments:
(Step #2 is to fix another issue with 5.3.3, it has nothing to do with the 
issue at hand)

# npm rm -g cordova && npm cache clean cordova && npm i -g cordova@5.3.3
# mkdir -p .../cordova/node_modules/cordova-lib/node_modules && ln -s 
.../cordova/node_modules/cordova-app-hello-world 
.../cordova/node_modules/cordova-lib/node_modules/cordova-app-hello-world
# cordova create hello533 && cd hello533
# cordova plugin add cordova-plugin-device && cordova plugin add --save 
cordova-plugin-camera
# cordova platform add android && cordova platform add --save ios
# cordova prepare
# Make sure plugin code and metadata are *PRESENT* on all of these places
#* ./platforms/\{android/assets,ios}/www/plugins
# Make sure plugin code and metadata are *ABSENT* on all of these files 
(because they didn't exist until now)
#* ./platforms/\{android,ios\}/platform_www/\{plugins,cordova_plugins.js\}
# npm rm -g cordova && npm cache clean cordova && npm i -g cordova@5.4.0
# cordova prepare
# *[NOT EXPECTED]* Confirm that plugin code and metadata are *ABSENT* on all of 
these places
#* ./platforms/\{android/assets,ios\}/www/\{plugins,cordova_plugins.js\}
# *[NOT EXPECTED]* Confirm that plugin description and metadata are *ABSENT* on 
all of these new files
#* ./platforms/android/android.json
#* ./platforms/ios/ios.json


These steps confirm (for me) that this issue has nothing to do with neither of 
these:
- android or ios
- windows or unix
- node 0.x or 4.x
- npm 2.x or 3.x
- plugins added with --save or without --save
- platforms added with --save or without --save
- one (device) or another (camera) plugin

Projects created by cordova@5.4.0 have their plugin files and metadata placed 
here instead: 
./platforms/\{android,ios\}/platform_www/\{plugins,cordova_plugins.js\}. 
However, that content doesn't get to be loaded in the application from there, 
so it's no use.

There is also some difference on the ./plugins/\{android,ios\}.json files 
between projects upgraded to 5.4.0 and projects created on 5.4.0, but only on 
the *config_munge* section.

> 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, dovaLib
>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 cordova@5.3.3
> 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 cordova@5.4.0
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org