[TIMOB-19176] Windows: ti.background events are being sent multiple times
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-07-21T05:55:28.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-07-06T17:38:45.000+0000 |
Updated | 2017-03-16T21:09:06.000+0000 |
Description
Description
When analytics are being sent from a Windows phone they are being sent multiple times. See the attached payloads.txt for an example.
This appears to only be happening for ti.background events, it seems the event is being sent once when the app is backgrounded and then again when the app is reopened, if the app is quit then the ti.background is not sent when the app is reopened
Steps To Reproduce
1. Point to staging server to see the payloads
2. Build to device
Actual Result
The events are being sent multiple times
Expected Result
An event should only be sent once
Attachments
PR: https://github.com/appcelerator/titanium_mobile_windows/pull/382
Closing ticket as fixed.