[TIMOB-17878] Apps has last session one month in the future
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Nam Le |
Assignee | Unknown |
Created | 2014-10-20T21:30:55.000+0000 |
Updated | 2018-02-28T20:04:21.000+0000 |
Description
This is a spin-off of APPTS-6299. For the TUI Travel Org (100000172), there are Android sessions that last occurred on November 20th, 2014.
The first step in the investigation is to see if the session summary and raw events contain a event that has that timestamp (to rule out that it is a bug in the PEM logic). If the data is there, then it's a possible issue with the SDK and it will be moved there for investigation.
Attachments
[~nle] can you be a bit more specific as to when the last session was? Do you have the timestamp reported by PEM? Even better would be the query that Dashboard uses to get this timestamp.
Eh, this should be moved to SDK. I just found a raw event here with a timestamp of March 2015.
Found via:
[~ingo] Can we investigate whether this is a bug with the SDK? Could it be a user error, for instance of the app user changes the date on the device to be a future date, when the SDK sends the event, it would use the device's date (which is set to the future)?
[~nle] It would be difficult for me to investigate without a set of steps to reproduce. Here is the code: https://github.com/appcelerator/aps_sdk/blob/master/ios/support/analytics/APSAnalytics/APSAnalytics.m#L460 Which references: https://github.com/appcelerator/aps_sdk/blob/master/ios/support/analytics/APSAnalytics/APSUtility.m#L200 It appears it uses the current date on the phone.