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

Android 9: App not honoring the Orientation set for Windows.


    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Invalid
    • Affects Version/s: Release 8.0.1
    • Fix Version/s: None
    • Component/s: Android
    • Environment:

      Android 9, Ti SDK 8.0.1.GA


      Hi Team,

      We are observing some abnormal behavior with “orientationModes” property of Ti.UI.Window. When we set orientationModes : [Titanium.UI.PORTRAIT] during window construction, the app is rotating to landscape, when “Auto-Rotate” is turned on in real time device. This is only happening with Android 9.0 and behaving properly on OS versions less than 9.0. The issue is reproducible using SDK 8.0.1.GA and lower release.

      Please find the attached sample to reproduce the issue.

      Steps to reproduce :

      1. Turn on “Auto-Rotate” in Android device with OS 9
      2. Run the app on the device.
      3. Now hold device in landscape mode and navigate to next screen by tapping on the label.
      4. A new screen will initially load in landscape mode then turns to Portrait mode.

      Expected result :
      New screen opens is Portrait mode.

      Then Run on Android device with OS < 9(Works as expected).

      Thanks in advance.


          Issue Links



              • Assignee:
                gmathews Gary Mathews
                sdarda Sharif AbuDarda (Inactive)
              • Watchers:
                7 Start watching this issue


                • Created:

                  Backbone Issue Sync

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

                    Git Integration