Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1636] App fails to build on Android if a custom NavigationWindow tag is used

GitHub Issuen/a
TypeBug
PriorityMedium
StatusResolved
ResolutionFixed
Resolution Date2018-11-02T20:25:54.000+0000
Affected Version/sn/a
Fix Version/sCLI Release 7.0.8
Componentsn/a
Labelsn/a
ReporterJason Kneen
AssigneeFeon Sua Xin Miao
Created2018-11-02T13:42:10.000+0000
Updated2018-11-05T11:33:20.000+0000

Description

Alloy has the capability to override tags using commonJS modules and the "module" attribute so: <NavigationWindow id="nav" module="xp.ui"> allows the xp.ui module to handle the createNavigationWindow request -- we use the xp.ui module ourselves in our Appc test apps. in 7.4.0 and 7.4.1 when attempting to build an app with this tag in place you get the following : [ERROR] Ti.UI.NavigationWindow for android requires Titanium 7.5.0+ [ERROR] Alloy compiler failed and the app fails to build. it seems the checking is picking up the tag but NOT the module attribute. The only workaround is to change the tag name to something else (and the commonJS library) so: <NavigationWindowXP id="nav" module="xp.ui"> works.

Comments

  1. Feon Sua Xin Miao 2018-11-02

    [~jkneen], which version of CLI are you using?
  2. Jason Kneen 2018-11-05

    Appc 7.0.7 or Ti 5.2.0

JSON Source