One of the last key outstanding tasks for the CLI is lazy loading of platform libraries [1].
I want to start tackling that tomorrow. I have a few points/questions to bring up and wanted to share my vision of the implementation, give folks an opportunity to comment. - where to download the source from? Archive.apache.org/dist/cordova seems to have all of our releases, but each zip file contains ALL platforms, not individual ones. Github.com, on the other hand, DOES offer per-platform downloads, for e.g. [2]. - storing the location in HOME/.cordova-libs cool with people? I want to avoid naming the folder .cordova since that is already used on a per-project basis to identify the root of a cordova-cli-created project (a la git). - I am thinking of exposing hooks/events for this (before_library_download and after_library_download is my initial thought, which get passed in platform and version as event parameters/data). Comments/suggestions welcome. Thanks! Fil [1] https://issues.apache.org/jira/browse/CB-3306 [2] https://github.com/apache/cordova-android/archive/2.8.0.zip
