[jira] [Commented] (CB-11803) Plugin features don't get written to iOS-specific config.xml
[ https://issues.apache.org/jira/browse/CB-11803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16529395#comment-16529395 ] Bryan Ellis commented on CB-11803: -- I was also not able to reproduce this issue with Cordova 8.0.0 (cordova-ios 4.5.4). > Plugin features don't get written to iOS-specific config.xml > > > Key: CB-11803 > URL: https://issues.apache.org/jira/browse/CB-11803 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-lib >Affects Versions: 6.3.1 >Reporter: Matus Koprda >Priority: Critical > Labels: backlog, lib-refactor > Fix For: cordova-ios@5.0.0 > > > When running `cordova prepare` or `cordova platform add ios` after adding > plugins, the platform-specific config.xml file for iOS > (`platforms/ios/NAME/config.xml`) doesn't have `` tags, which > effectively prevents any installed plugin from working. > The tags *do* get added when installing plugins *after* the iOS platform was > created. > How to reproduce - this creates a working config.xml: > {code} > cordova create test > cd test > cordova platform add ios > cordova plugin add cordova-plugin-device --save > {code} > This creates a broken config.xml (resulting in `Plugin 'Device' not found, or > is not a CDVPlugin.` error when running on a an iPhone): > {code} > cordova create test > cd test > cordova plugin add cordova-plugin-device --save > cordova platform add ios > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11803) Plugin features don't get written to iOS-specific config.xml
[ https://issues.apache.org/jira/browse/CB-11803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16099250#comment-16099250 ] jcesarmobile commented on CB-11803: --- I can't reproduce with Cordova CLI 7.0.1 (cordova-ios 4.4.0) > Plugin features don't get written to iOS-specific config.xml > > > Key: CB-11803 > URL: https://issues.apache.org/jira/browse/CB-11803 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-lib >Affects Versions: 6.3.1 >Reporter: Matus Koprda >Priority: Critical > Labels: backlog, lib-refactor > Fix For: cordova-ios@5.0.0 > > > When running `cordova prepare` or `cordova platform add ios` after adding > plugins, the platform-specific config.xml file for iOS > (`platforms/ios/NAME/config.xml`) doesn't have `` tags, which > effectively prevents any installed plugin from working. > The tags *do* get added when installing plugins *after* the iOS platform was > created. > How to reproduce - this creates a working config.xml: > {code} > cordova create test > cd test > cordova platform add ios > cordova plugin add cordova-plugin-device --save > {code} > This creates a broken config.xml (resulting in `Plugin 'Device' not found, or > is not a CDVPlugin.` error when running on a an iPhone): > {code} > cordova create test > cd test > cordova plugin add cordova-plugin-device --save > cordova platform add ios > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11803) Plugin features don't get written to iOS-specific config.xml
[ https://issues.apache.org/jira/browse/CB-11803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16088401#comment-16088401 ] Filip Maj commented on CB-11803: FYI [~stevegill] this may be one example of an issue arising out of a leaky restore/prepare design. Adding a 'lib-refactor' label to it do that we can come back to this one when we start thinking of a cordova-lib refactor. > Plugin features don't get written to iOS-specific config.xml > > > Key: CB-11803 > URL: https://issues.apache.org/jira/browse/CB-11803 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-cli, cordova-ios >Affects Versions: 6.3.1 >Reporter: Matus Koprda >Priority: Critical > Labels: backlog, lib-refactor > Fix For: cordova-ios@5.0.0 > > > When running `cordova prepare` or `cordova platform add ios` after adding > plugins, the platform-specific config.xml file for iOS > (`platforms/ios/NAME/config.xml`) doesn't have `` tags, which > effectively prevents any installed plugin from working. > The tags *do* get added when installing plugins *after* the iOS platform was > created. > How to reproduce - this creates a working config.xml: > {code} > cordova create test > cd test > cordova platform add ios > cordova plugin add cordova-plugin-device --save > {code} > This creates a broken config.xml (resulting in `Plugin 'Device' not found, or > is not a CDVPlugin.` error when running on a an iPhone): > {code} > cordova create test > cd test > cordova plugin add cordova-plugin-device --save > cordova platform add ios > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11803) Plugin features don't get written to iOS-specific config.xml
[ https://issues.apache.org/jira/browse/CB-11803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15556558#comment-15556558 ] Shazron Abdullah commented on CB-11803: --- We will re-verify this issue when cordova-cli@6.4.0 is released > Plugin features don't get written to iOS-specific config.xml > > > Key: CB-11803 > URL: https://issues.apache.org/jira/browse/CB-11803 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, iOS, Plugins >Affects Versions: 6.3.1 >Reporter: Matus Koprda >Priority: Critical > > When running `cordova prepare` or `cordova platform add ios` after adding > plugins, the platform-specific config.xml file for iOS > (`platforms/ios/NAME/config.xml`) doesn't have `` tags, which > effectively prevents any installed plugin from working. > The tags *do* get added when installing plugins *after* the iOS platform was > created. > How to reproduce - this creates a working config.xml: > {code} > cordova create test > cd test > cordova platform add ios > cordova plugin add cordova-plugin-device --save > {code} > This creates a broken config.xml (resulting in `Plugin 'Device' not found, or > is not a CDVPlugin.` error when running on a an iPhone): > {code} > cordova create test > cd test > cordova plugin add cordova-plugin-device --save > cordova platform add ios > {code} -- 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-11803) Plugin features don't get written to iOS-specific config.xml
[ https://issues.apache.org/jira/browse/CB-11803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15556551#comment-15556551 ] Darryl Pogue commented on CB-11803: --- Ugh, this is one of the reasons that I want to separate prepare and restore, because there are all these cases that aren't captured in tests or documentation anywhere and trying to fix anything results in breaking expectations. However, I thought this particular case was already fixed by CB-11698? > Plugin features don't get written to iOS-specific config.xml > > > Key: CB-11803 > URL: https://issues.apache.org/jira/browse/CB-11803 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, iOS, Plugins >Affects Versions: 6.3.1 >Reporter: Matus Koprda >Priority: Critical > > When running `cordova prepare` or `cordova platform add ios` after adding > plugins, the platform-specific config.xml file for iOS > (`platforms/ios/NAME/config.xml`) doesn't have `` tags, which > effectively prevents any installed plugin from working. > The tags *do* get added when installing plugins *after* the iOS platform was > created. > How to reproduce - this creates a working config.xml: > {code} > cordova create test > cd test > cordova platform add ios > cordova plugin add cordova-plugin-device --save > {code} > This creates a broken config.xml (resulting in `Plugin 'Device' not found, or > is not a CDVPlugin.` error when running on a an iPhone): > {code} > cordova create test > cd test > cordova plugin add cordova-plugin-device --save > cordova platform add ios > {code} -- 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-11803) Plugin features don't get written to iOS-specific config.xml
[ https://issues.apache.org/jira/browse/CB-11803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15556541#comment-15556541 ] Shazron Abdullah commented on CB-11803: --- [~dpogue] any insight on this? > Plugin features don't get written to iOS-specific config.xml > > > Key: CB-11803 > URL: https://issues.apache.org/jira/browse/CB-11803 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, iOS, Plugins >Affects Versions: 6.3.1 >Reporter: Matus Koprda >Priority: Critical > > When running `cordova prepare` or `cordova platform add ios` after adding > plugins, the platform-specific config.xml file for iOS > (`platforms/ios/NAME/config.xml`) doesn't have `` tags, which > effectively prevents any installed plugin from working. > The tags *do* get added when installing plugins *after* the iOS platform was > created. > How to reproduce - this creates a working config.xml: > {code} > cordova create test > cd test > cordova platform add ios > cordova plugin add cordova-plugin-device --save > {code} > This creates a broken config.xml (resulting in `Plugin 'Device' not found, or > is not a CDVPlugin.` error when running on a an iPhone): > {code} > cordova create test > cd test > cordova plugin add cordova-plugin-device --save > cordova platform add ios > {code} -- 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-11803) Plugin features don't get written to iOS-specific config.xml
[ https://issues.apache.org/jira/browse/CB-11803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15554535#comment-15554535 ] Shazron Abdullah commented on CB-11803: --- This may be the culprit: https://github.com/apache/cordova-lib/blob/4ca3b4ca12a01ded923734e4d92d7f9325d540dc/cordova-lib/src/cordova/platform.js#L206 ... which is a fix for https://issues.apache.org/jira/browse/CB-11589 > Plugin features don't get written to iOS-specific config.xml > > > Key: CB-11803 > URL: https://issues.apache.org/jira/browse/CB-11803 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, iOS, Plugins >Affects Versions: 6.3.1 >Reporter: Matus Koprda >Priority: Critical > > When running `cordova prepare` or `cordova platform add ios` after adding > plugins, the platform-specific config.xml file for iOS > (`platforms/ios/NAME/config.xml`) doesn't have `` tags, which > effectively prevents any installed plugin from working. > The tags *do* get added when installing plugins *after* the iOS platform was > created. > How to reproduce - this creates a working config.xml: > cordova create test > cd test > cordova platform add ios > cordova plugin add cordova-plugin-device --save > This creates a broken config.xml (resulting in `Plugin 'Device' not found, or > is not a CDVPlugin.` error when running on a an iPhone): > cordova create test > cd test > cordova plugin add cordova-plugin-device --save > cordova platform add ios -- 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-11803) Plugin features don't get written to iOS-specific config.xml
[ https://issues.apache.org/jira/browse/CB-11803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15548908#comment-15548908 ] Matus Koprda commented on CB-11803: --- Thanks for having a look. It's a serious problem when you use XCode to compile, debug and package the app. And it's clearly a bug, since this works on Android without any issues. > Plugin features don't get written to iOS-specific config.xml > > > Key: CB-11803 > URL: https://issues.apache.org/jira/browse/CB-11803 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, iOS, Plugins >Affects Versions: 6.3.1 >Reporter: Matus Koprda >Priority: Critical > > When running `cordova prepare` or `cordova platform add ios` after adding > plugins, the platform-specific config.xml file for iOS > (`platforms/ios/NAME/config.xml`) doesn't have `` tags, which > effectively prevents any installed plugin from working. > The tags *do* get added when installing plugins *after* the iOS platform was > created. > How to reproduce - this creates a working config.xml: > cordova create test > cd test > cordova platform add ios > cordova plugin add cordova-plugin-device --save > This creates a broken config.xml (resulting in `Plugin 'Device' not found, or > is not a CDVPlugin.` error when running on a an iPhone): > cordova create test > cd test > cordova plugin add cordova-plugin-device --save > cordova platform add ios -- 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-11803) Plugin features don't get written to iOS-specific config.xml
[ https://issues.apache.org/jira/browse/CB-11803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15547122#comment-15547122 ] Shazron Abdullah commented on CB-11803: --- I could repro using the below with cli@6.3.1: {code} cordova create test cd test cordova plugin add cordova-plugin-device --save cordova platform add ios {code} it just seems prepare is not called after. Usually it is no problem since prepare is called before a build. > Plugin features don't get written to iOS-specific config.xml > > > Key: CB-11803 > URL: https://issues.apache.org/jira/browse/CB-11803 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, iOS, Plugins >Affects Versions: 6.3.1 >Reporter: Matus Koprda >Priority: Critical > > When running `cordova prepare` or `cordova platform add ios` after adding > plugins, the platform-specific config.xml file for iOS > (`platforms/ios/NAME/config.xml`) doesn't have `` tags, which > effectively prevents any installed plugin from working. > The tags *do* get added when installing plugins *after* the iOS platform was > created. > How to reproduce - this creates a working config.xml: > cordova create test > cd test > cordova platform add ios > cordova plugin add cordova-plugin-device --save > This creates a broken config.xml (resulting in `Plugin 'Device' not found, or > is not a CDVPlugin.` error when running on a an iPhone): > cordova create test > cd test > cordova plugin add cordova-plugin-device --save > cordova platform add ios -- 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