Project: appceleratorstudio
Issue TISTUD-907: Modules UI - Restrict the modules to an API-Level
We need to restrict the modules selection in the TiApp UI to an API-Level that is enforced on a module. The platform team adds an api-level value into the module's manifest, and will add a modules-api-level into the 'version.txt' file of the Titanium SDK. We'll need to read both to find an API level match, and do whatever needs to be done in the UI in order to allow selecting only valid modules, and display warnings when incompatible modules exist in the tiapp. To test: # Create a new Titanium Mobile project # Open up tiapp.xml and add a module to the project using the modules panel (I used ti.greystripe). Note the module appears active # Edit the module manifest file to raise the apiversion to something like "3" (current maximum version is 2 for 1.8/2.0) # Save tapp.xml and restart Studio. Note that the module now appears still available, but should appear greyed out Note that this change is only relevant to Android. iOS does not care about apiversions
Story points: 13