Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15916] Analytics: Tizen - Analytics events are not generated

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-12-18T02:30:23.000+0000
Affected Version/sRelease 3.2.0
Fix Version/s2013 Sprint 26, 2013 Sprint 26 Core, Release 3.2.0
ComponentsTizen
Labelsqe-3.2.0, qe-closed-3.2.0, qe-testadded, regression
ReporterOlga Romero
AssigneeChris Barber
Created2013-12-07T01:28:09.000+0000
Updated2014-02-24T22:34:37.000+0000

Description

Analytics data is not generated for Tizen, hense it does not appear on a dashboard. We tested backend, and there is no ti.enroll and ti.start were generated. We switched to preprod and checked PEM, events are not shown there as well.

To reproduce

1. Create an application. 2. Make sure your desktop is pointing to the staging server. 3. Run Tizen Emulator 4. ssh ubuntu@54.212.133.215 5. Check the daily folder for mobile_events.json 6. tail -f mobile_events.json.txt | grep

Actual result

Analytics events are not generated. No Tizen platform appearance on the dashboard.

Attachments

FileDateSize
Screen Shot 2013-12-18 at 9.41.38 AM.png2013-12-18T18:27:27.000+0000116747
Screen Shot 2013-12-18 at 9.42.13 AM.png2013-12-18T18:27:27.000+0000102751
Screen Shot 2013-12-18 at 9.42.43 AM.png2013-12-18T18:27:27.000+000082029
tizen_analytics.txt2013-12-07T01:28:09.000+0000799
tizen_analytics1.txt2013-12-18T18:27:27.000+00003363

Comments

  1. Ingo Muschenetz 2013-12-07

    From a note from Anatoliy in April: Only the issue is already reported TDIST-192: TDIST-192 Tizen blocks calls to web services via https. https://bugs.tizen.org/jira/browse/TDIST-192 (This is now fixed) MobileWeb has support for executing Analytics call with XMLHttpRequest instead of iframe. Unfortunately this code is broken in MobileWeb (e.g. XMLHttpRequest is misspelled in the code). I opened 2 issues jira: TC-2161 MobileWeb can not work with Analytics via XmlHttpRequest (TC-2161) TC-2162 Сan not configure MobileWeb to use Analytics via XmlHttpRequest (TC-2162) Also I created Tizen only version and put fixed analytics.js into tizen repo. I removed everything that implement sending data with iframe because XMLHttpReques it the Tizen way to do this things.
  2. Chris Barber 2013-12-17

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5132 3.2.x pull request: https://github.com/appcelerator/titanium_mobile/pull/5133
  3. Ingo Muschenetz 2013-12-18

    Confirmed as fixed by [~cbarber] and [~emerriman]
  4. Olga Romero 2013-12-18

    Tested and verified the fix with: Appcelerator Studio, build: 3.2.0.201312171913 Titanium SDK, build: 3.2.0.v20131204220843 CLI 3.2.0-cr3 Checked dashboard and confirmed install, sessions and events for Tizen platform. Confirmed analytics events output in the terminal. Closing as fixed.

JSON Source