cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <>
Subject [jira] [Commented] (CB-11803) Plugin features don't get written to iOS-specific config.xml
Date Sat, 15 Jul 2017 03:42:00 GMT


Filip Maj commented on CB-11803:

FYI [~stevegill] this may be one example of an issue arising out of a leaky restore/prepare

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:
>             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 `<feature>`
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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message