Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19082] Windows: Analytics: ti.background is not sent went closing an app using the back hardware button

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2015-06-29T15:31:22.000+0000
Affected Version/sRelease 4.1.0
Fix Version/sRelease 4.1.0
ComponentsWindows
Labelsqe-4.1.0
ReporterEwan Harris
AssigneeGary Mathews
Created2015-06-26T17:37:29.000+0000
Updated2015-07-06T18:23:25.000+0000

Description

Description

When closing an application using the hardware back button the app will not send a ti.background event, if the app is backgrounded using either the Windows hardware button or by holding the back button down

Steps To Reproduce

*Using the staging environment for analytics* 1. Open an app 2. Close the app with the Windows hardware button 3. Hold the back hardware button 4. Exit the app using the back hardware button

Actual Result

2&3. A ti.background is sent 4. No ti.background is sent

Expected Result

ti.background should be sent in all circumstances

Comments

  1. Gary Mathews 2015-06-27

    PR: https://github.com/appcelerator/titanium_mobile_windows/pull/332
  2. Ewan Harris 2015-07-06

    Verified using: Windows 8.1 Appc CLI (NPM): 4.1.0-1 Appc CLI (Registry): 4.1.0-5 Ti SDK: 4.1.0.v20150706073311 Lumia 1020: 8.1 When pressing the hardware back button an analytics event is now sent Closing ticket

JSON Source