[TIMOB-2950] Tooling: Add support for platform and default "version" for modules in tiapp.xml
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2011-04-15T03:33:36.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.6.0 M07 |
Components | Android |
Labels | android, feature, ios, module, release-1.6.0, tooling |
Reporter | Marshall Culpepper |
Assignee | Marshall Culpepper |
Created | 2011-04-15T03:33:36.000+0000 |
Updated | 2017-03-03T05:33:23.000+0000 |
Description
Currently there isn't a way for an app to specify what platform(s) a module should be enabled for, and the version number is also a hard requirement. We should allow any of the following methods for defining a module dependency in tiapp.xml:
<!-- the way it works today, use version 0.1 of com.company.module for all platforms-->
<module version="0.1">com.company.module</module>
<!-- use version 0.1 of com.company.module only for Android -->
<module version="0.1" platform="android">com.company.module</module>
<!-- use the most recently installed version of com.company.module for all platforms -->
<module>com.company.module</module>
We should also allow users to combine the rules above in
multiple <module>
tags, i.e:
<!-- use com.company.module 1.0 for android, 1.1 for iphone -->
<module platform="android" version="1.0">com.company.module</module>
<module platform="iphone" version="1.1">com.company.module</module>
Mostly a duplicate of #2847. Differences merged down to that ticket.
Closing issue due to time passed and irrelevance of the ticket.