[ALOY-138] Enforce "platforms" tag in widget.json manifest
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2014-01-20T22:24:13.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK, Tooling |
Labels | notable |
Reporter | Tony Lukasavage |
Assignee | Tony Lukasavage |
Created | 2012-07-27T09:22:07.000+0000 |
Updated | 2014-01-28T23:19:49.000+0000 |
Description
Each widget's widget.json manifest file includes an informational "platforms" tag that indicates on which platforms the widget is supported. We should actually enforce this tag at compile time. We should abort compilation with information regarding the widget and its lack of support. That way developers will immediately know if they are attempting to use a widget on an unsupported platform.
WE may also want to consider a way to ignore this tag so that it does NOT abort the compilation. Or we could simply post a warning to the log. I'm in favor of actually aborting the compilation.
Widgets will likely be distributed in a different format, making this ticket irrelevant.