Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15868] Android: Few analytics events are not seen till a ti.end or ti.start event is fired

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-12-10T21:59:31.000+0000
Affected Version/sRelease 3.2.0
Fix Version/s2013 Sprint 25, 2013 Sprint 25 API, Release 3.2.1, Release 3.3.0
ComponentsAndroid
Labelsmodule_analytics, qe-3.2.0, qe-testadded
ReporterLokesh Choudhary
AssigneePing Wang
Created2013-12-04T01:21:57.000+0000
Updated2014-03-21T22:33:43.000+0000

Description

Description:

1. Build the attached analytics app on an android device. 2. After install launch the app & you should get a ti.enroll & ti.start event at 30 seconds after the app is launched. 3. Now tap on any of the event buttons on the app like 'feature','nav','settings','timed','user' etc.

Actual Results:

1. We do not see any of the tapped events. 2. Close the app. 3. After 30 seconds you will see an ti.end event along with the previous events which did not show up.

Expected Results:

1. We should see all types of events at 30 seconds after they have been sent from the device. So,ti summarize we see the ti.end & ti.start events exactly at 30 seconds after sending the events from the device, but we do not see any events mentioned above till a ti.end or ti.start is fired.

Attachments

FileDateSize
Analytics.zip2013-12-04T01:21:57.000+00004062078

Comments

  1. Lokesh Choudhary 2013-12-04

    Adding the tag again. Wanted to verify some stuff.
  2. Allen Yeung 2013-12-04

    Still unclear why this is a regression, does it work in 3.1.3.GA?
  3. Lokesh Choudhary 2013-12-04

    @All - I completely verified this issue with 3.1.3.GA & I see the same issue, its my bad, its not a regression. Removing the tag. Environment: Appcel Studio : 3.2.0.201311272052 Ti SDK : 3.1.3.GA Mac OSX : 10.8.5 Alloy : 1.3.0-beta CLI - 3.2.0-beta Nexus 5 - android 4.4 Samsung Galaxy S4 running android 4.2.2
  4. Ping Wang 2013-12-04

    PR: https://github.com/appcelerator/titanium_mobile/pull/5058
  5. Ingo Muschenetz 2013-12-04

    We are okay keeping this 3.2.1, so don't backport to 3.2.0.
  6. Ping Wang 2014-01-03

    3_2_X PR: https://github.com/appcelerator/titanium_mobile/pull/5183
  7. Lokesh Choudhary 2014-01-08

    Verified the fix. We now see the analytics events exactly after 30 seconds independent of ti.start & ti.end events. Closing. Environment: Appc Studio : 3.2.1.201401061716 Ti SDK : 3.2.1.v20140106195644 , 3.3.0.v20140106195650 Mac OSX : 10.8.5 Alloy : 1.3.1-beta CLI - 3.2.0 Nexus 5 - android 4.4

JSON Source