Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19176] Windows: ti.background events are being sent multiple times

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-07-21T05:55:28.000+0000
Affected Version/sRelease 4.1.0
Fix Version/sRelease 5.0.0
ComponentsWindows
Labelsqe-4.1.0
ReporterEwan Harris
AssigneeGary Mathews
Created2015-07-06T17:38:45.000+0000
Updated2017-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

FileDateSize
payloads.txt2015-07-06T17:37:55.000+000010232

Comments

  1. Gary Mathews 2015-07-08

    PR: https://github.com/appcelerator/titanium_mobile_windows/pull/382
  2. Lee Morris 2017-03-16

    Closing ticket as fixed.

JSON Source