Titanium JIRA Archive
Alloy (ALOY)

[ALOY-120] Add "platforms" tag to widget.json manifest

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusResolved
ResolutionFixed
Resolution Date2012-07-27T09:22:50.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsXML
Labelsn/a
ReporterTony Lukasavage
AssigneeUnknown
Created2012-07-23T12:19:05.000+0000
Updated2018-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.

Comments

  1. Russell McMahon 2012-07-23

    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.

JSON Source