Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-1636

App fails to build on Android if a custom NavigationWindow tag is used

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: CLI Release 7.0.8
    • Component/s: None
    • Labels:
      None
    • Story Points:
      1

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fmiao Feon Sua Xin Miao
                Reporter:
                jkneen Jason Kneen
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Source Code