Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-27834

Android: NavigationWindow doesnt trigger open and close events

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 9.1.0
    • Component/s: Android
    • Environment:

      Titanium SDK 8.3.0.GA
      Titanium SDK 9.0.0.GA
      macOS 10.15.3

    • Story Points:
      3
    • Sprint:
      2020 Sprint 10

      Description

      As per the docs the open and close events must be triggered when the NavigationWindow opens and closes respectively.

      This only works on iOS.

      Here is a sample:
      controller.xml

      <Alloy>
      	<NavigationWindow onOpen="onNavigationWindowOpen" onClose="onNavigationWindowClose">
      		<Window>
      			<Label>Main</Label>
      		</Window>
      	</NavigationWindow>
      </Alloy>
      

      controller.js

      // Arguments passed into this controller can be accessed via the `$.args` object directly or:
      var args = $.args;
       
      function onNavigationWindowOpen() {
          Ti.API.info('Opened');
      }
       
      function onNavigationWindowClose() {
          Ti.API.info('Closed');
      }
      

      Nor Opened neither Closed events were shown inside the console.

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              Andrea.Vitale Andrea Vitale
              Tester:
              Samir Mohammed
            • Watchers:
              5 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 Integration