[TIMOB-19082] Windows: Analytics: ti.background is not sent went closing an app using the back hardware button
| GitHub Issue | n/a |
| Type | Bug |
| Priority | None |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2015-06-29T15:31:22.000+0000 |
| Affected Version/s | Release 4.1.0 |
| Fix Version/s | Release 4.1.0 |
| Components | Windows |
| Labels | qe-4.1.0 |
| Reporter | Ewan Harris |
| Assignee | Gary Mathews |
| Created | 2015-06-26T17:37:29.000+0000 |
| Updated | 2015-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
JSON Source
PR: https://github.com/appcelerator/titanium_mobile_windows/pull/332
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