Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11990

Cordova prepare doesn't restore android.json and ios.json

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 6.3.1
    • None
    • cordova-lib

    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.

      Attachments

        1. cordova_6.3.0.rtf
          6 kB
          Yuliia Mykhailova
        2. cordova_6.3.1.rtf
          5 kB
          Yuliia Mykhailova

        Activity

          People

            auso Audrey So
            ymyhailova Yuliia Mykhailova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: