You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Yuliia Mykhailova (JIRA)" <ji...@apache.org> on 2016/10/13 07:34:20 UTC

[jira] [Updated] (CB-11990) Cordova prepare doesn't restore android.json and ios.json

     [ https://issues.apache.org/jira/browse/CB-11990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yuliia Mykhailova updated CB-11990:
-----------------------------------
    Description: 
If the platform specific .json of plugins was removed, cordova prepare command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 version, 6.3.0 is okay.

[UPD] more detailed steps to reproduce:

install cordova@6.3.0
go to project with platform and plugins installed
do cordova platform remove android (or ios, doesn't matter) -> platform is removed, <platform.json> file is removed
do cordova prepare -> platform is added, <platform.json> is recreated, therefore plugins are added to the fresh created platform.

install cordova@6.3.1
do same steps
on a last step the <platform.json> is not recreated, therefore platform is created but no plugins are added.

  was:If the platform specific .json of plugins was removed, cordova prepare command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 version, 6.3.0 is okay.


> Cordova prepare doesn't restore android.json and ios.json
> ---------------------------------------------------------
>
>                 Key: CB-11990
>                 URL: https://issues.apache.org/jira/browse/CB-11990
>             Project: Apache Cordova
>          Issue Type: Bug
>    Affects Versions: 6.3.1
>            Reporter: Yuliia Mykhailova
>            Assignee: Audrey So
>
> If the platform specific .json of plugins was removed, cordova prepare command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 version, 6.3.0 is okay.
> [UPD] more detailed steps to reproduce:
> install cordova@6.3.0
> go to project with platform and plugins installed
> do cordova platform remove android (or ios, doesn't matter) -> platform is removed, <platform.json> file is removed
> do cordova prepare -> platform is added, <platform.json> is recreated, therefore plugins are added to the fresh created platform.
> install cordova@6.3.1
> do same steps
> on a last step the <platform.json> is not recreated, therefore platform is created but no plugins are added.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org