Titanium JIRA Archive
Alloy (ALOY)

[ALOY-376] Better handling of Menu component on iOS

GitHub Issuen/a
TypeBug
PriorityMedium
StatusResolved
ResolutionFixed
Resolution Date2012-11-15T22:21:00.000+0000
Affected Version/sn/a
Fix Version/sAlloy 0.3.3, 2012 Sprint 24
ComponentsXML
Labelsn/a
ReporterKevin Whinnery
AssigneeUnknown
Created2012-11-12T19:37:03.000+0000
Updated2018-03-07T22:26:00.000+0000

Description

The Android-specific tag in declarative markup throws an error about window.activity not being defined when run on iOS. Obviously this is true, but we should automatically case out the generated code that generates the menu on iOS. The fix is to include the platform-specific flag as a property ().

Comments

  1. Tony Lukasavage 2012-11-15

    It will no longer generate the menu code on non-Android systems. During the compile process, a warning will be issued telling the developer that the code is being ignored.

JSON Source