Titanium JIRA Archive
Alloy (ALOY)

[ALOY-138] Enforce "platforms" tag in widget.json manifest

GitHub Issuen/a
TypeImprovement
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2014-01-20T22:24:13.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK, Tooling
Labelsnotable
ReporterTony Lukasavage
AssigneeTony Lukasavage
Created2012-07-27T09:22:07.000+0000
Updated2014-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.

Comments

  1. Tony Lukasavage 2014-01-20

    Widgets will likely be distributed in a different format, making this ticket irrelevant.

JSON Source