[ALOY-1636] App fails to build on Android if a custom NavigationWindow tag is used
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2018-11-02T20:25:54.000+0000 |
Affected Version/s | n/a |
Fix Version/s | CLI Release 7.0.8 |
Components | n/a |
Labels | n/a |
Reporter | Jason Kneen |
Assignee | Feon Sua Xin Miao |
Created | 2018-11-02T13:42:10.000+0000 |
Updated | 2018-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.
[~jkneen], which version of CLI are you using?
Appc 7.0.7 or Ti 5.2.0