[TIMOB-19083] Windows: New analytics session ID is generated every time an app is opened
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-07-10T21:04:11.000+0000 |
Affected Version/s | Release 4.1.0 |
Fix Version/s | Release 5.0.0 |
Components | Windows |
Labels | qe-4.1.0 |
Reporter | Ewan Harris |
Assignee | Gary Mathews |
Created | 2015-06-26T17:39:21.000+0000 |
Updated | 2017-03-16T21:56:41.000+0000 |
Description
Description
When opening an closing and reopening an application, each time the app is reopened a new session ID is generated. As per iOS and Android a new session ID should only be generated when an app has been backgrounded and not reopened for 30 seconds or longer
Steps To Reproduce
*Using the staging environment for analytics*
1. Open an app
2. Close the app using the Windows hardware button
3. Reopen the app in less than 30 seconds
Actual Result
A new session ID is generated
Expected Result
A new session ID should not be generated
Attachments
File | Date | Size |
events.json | 2015-06-26T17:53:48.000+0000 | 1334 |
Added events.json that includes two events, a ti.background and ti.foreground. Note the SID is different in both despite the timestamp showing the events are less than 30 seconds apart
I can't reproduce this. Could you test using this PR : https://github.com/appcelerator/titanium_mobile_windows/pull/332
Issue still occurs using: Windows 8.1 Appc CLI (NPM): 4.1.0-1 Appc CLI (Registry): 4.1.0-5 Ti SDK: 4.1.0.v20150706111546 Lumia 1020: 8.1
PR: https://github.com/appcelerator/titanium_mobile_windows/pull/360
Closing ticket as fixed.