Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24575] Android: Back button on Android Phone is triggering a destroy event in latest SDK 6.0.3.GA

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2017-04-13T07:52:03.000+0000
Affected Version/sRelease 6.0.3
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterAminul Islam
AssigneeEric Merriman
Created2017-04-12T16:20:37.000+0000
Updated2017-05-31T23:16:11.000+0000

Description

Hi, The back button on my Android Phone is triggering a destroy event in latest SDK 6.0.3.GA. When I build my app using 6.0.2.GA the behavior of the android back button is normal again. First with SDK 6.0.2.GA, the back button is working as expected, close the active window and go back to the previous window. In the main window, the app is closed when pressing the android back button. So everything is fine. But Changed the SDK to 6.0.3.GA and run the app again. The android back button is closing the app in both windows, and it closes the apps. I’m using a Samsung S5+ with Android 6.0.1 and HTC one m8 with android 6.0.1 Steps to reproduce: 1. Import test project in your studio.
https://crosshardware.stackstorage.com/s/ZopRJaNDqCoGx2i
2. Build it with latest SDK 6.0.3.GA 3. Open the app and select an item, it will open product details window. 4. Press android phone back button, it will destroy or close the app. But if you build this with 6.0.2.GA , back button will close the active window and go back to the previous window. Test Environment
Operating System
  Name                        = Mac OS X
  Version                     = 10.11.6
  Architecture                = 64bit
  # CPUs                      = 4
  Memory                      = 8589934592
Node.js
  Node.js Version             = 4.4.4
  npm Version                 = 2.15.1
Titanium CLI
  CLI Version                 = 5.0.11
Titanium SDK
  SDK Version                 = 6.0.3.GA
Thanks

Comments

  1. Hans Knöchel 2017-04-13

    Duplicate of TIMOB-24531, fixed in the upcoming 6.0.4 release.
  2. Lee Morris 2017-05-31

    Closing ticket as duplicate.

JSON Source