cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-11698) Plugin is not installed into platform during restore
Date Fri, 12 Aug 2016 18:48:20 GMT


ASF GitHub Bot commented on CB-11698:

Github user dpogue commented on the issue:
    Honestly, this is just further convincing me that `restore` and `prepare` should be two
separate commands. It seems weird to me to run prepare for a platform that isn't installed
and expect it to do anything.
    The original reason I added this is because when running `cordova prepare` on a project
with both iOS and Android in config.xml and empty platforms/plugins dirs, I would get a bunch
of warnings logged about plugins already being installed. It seemed like it was trying to
install the plugins for both platforms multiple times.

> Plugin is not installed into platform during restore
> ----------------------------------------------------
>                 Key: CB-11698
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 6.3.1
>            Reporter: Vladimir Kotikov
>            Assignee: Vladimir Kotikov
>            Priority: Critical
>              Labels: prepare, regression, reproduced, restore, triaged
>             Fix For: 6.3.2
> * Create a sample project and add the ios and android platforms and wkwebview engine
plugin and save them to the config.xml. 
> * Delete platforms/ and plugins/ 
> * Restore android {{cordova prepare android}} 
> * Restore ios {{cordova prepare ios}} 
> * Open platforms/ios/[ProjectName]/config.xml 
> Result: The CordovaWebViewEngine preference is not set. 
> Run {{cordova prepare ios}} again 
> Result: The CordovaWebViewEngine preference is still not set. 
> If you ran {{cordova prepare ios}} before {{cordova prepare android}} the preference
is set. 

This message was sent by Atlassian JIRA

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

View raw message