[ALOY-120] Add "platforms" tag to widget.json manifest
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2012-07-27T09:22:50.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | XML |
Labels | n/a |
Reporter | Tony Lukasavage |
Assignee | Unknown |
Created | 2012-07-23T12:19:05.000+0000 |
Updated | 2018-03-07T22:25:49.000+0000 |
Description
We should add a "platforms" tag to the widget.json manifest file in order to identify which platforms the widget will work on. Something simple like:
"platforms": "android,ios"
In addition, this tag should be checked at compile/run time to ensure that an appropriate platform is being used with it. Alloy/Titanium should likely throw an exception or at least launch a warning if an unsupported platform is used with the widget.
At this point let's just add the tag. Open another ticket for actually processing the tag. I think the tag processing will also be a required with samples and templates although the goal is cross-platform sometimes it is hard to achieve. Managing it is a great compromise.