cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesper van den Ende (JIRA)" <>
Subject [jira] [Created] (CB-13949) cordova prepare doesn't install the correct plugin versions
Date Sun, 04 Mar 2018 19:18:00 GMT
Jesper van den Ende created CB-13949:

             Summary: cordova prepare doesn't install the correct plugin versions
                 Key: CB-13949
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-cli
    Affects Versions: cordova@8.0.0
         Environment: Mac OS,

Cordova 8.0.0

npm 3.10.3
            Reporter: Jesper van den Ende

according to the documentation at [] plugins
should install the version from either config.xml or package.json. However, the latest version
is always installed instead.

How to reproduce:
cordova create test
cd test
cordova platform add android
cordova plugin add cordova-plugin-splashscreen@4.0.0{noformat}
Note how
cordova plugin ls{code}
Shows that version 4.0.0 is installed. Also config.xml and package.json both indicate that
4.0.0 is installed.

Now delete the 'platforms' and 'plugins' folder and run
cordova prepare{noformat}
Note how config.xml and package.json still indicate that 4.0.0 installed, however when running
cordova plugin ls{noformat}
it shows
cordova-plugin-splashscreen 4.1.0 "Splashscreen"
cordova-plugin-whitelist 1.3.3 "Whitelist"{noformat}
perhaps I'm missing something, though my understanding is that when `cordova prepare` is run,
all plugins and platforms will be installed with their version as listed in package.json and

This message was sent by Atlassian JIRA

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

View raw message