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

ASF GitHub Bot commented on CB-11698:
-------------------------------------

Github user dpogue commented on the issue:

    https://github.com/apache/cordova-lib/pull/479
  
    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: https://issues.apache.org/jira/browse/CB-11698
>             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
(v6.3.4#6332)

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

Reply via email to