[TIMOB-15916] Analytics: Tizen - Analytics events are not generated
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-12-18T02:30:23.000+0000 |
Affected Version/s | Release 3.2.0 |
Fix Version/s | 2013 Sprint 26, 2013 Sprint 26 Core, Release 3.2.0 |
Components | Tizen |
Labels | qe-3.2.0, qe-closed-3.2.0, qe-testadded, regression |
Reporter | Olga Romero |
Assignee | Chris Barber |
Created | 2013-12-07T01:28:09.000+0000 |
Updated | 2014-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 | grepActual result
Analytics events are not generated. No Tizen platform appearance on the dashboard.Attachments
File | Date | Size |
---|---|---|
Screen Shot 2013-12-18 at 9.41.38 AM.png | 2013-12-18T18:27:27.000+0000 | 116747 |
Screen Shot 2013-12-18 at 9.42.13 AM.png | 2013-12-18T18:27:27.000+0000 | 102751 |
Screen Shot 2013-12-18 at 9.42.43 AM.png | 2013-12-18T18:27:27.000+0000 | 82029 |
tizen_analytics.txt | 2013-12-07T01:28:09.000+0000 | 799 |
tizen_analytics1.txt | 2013-12-18T18:27:27.000+0000 | 3363 |
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.
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5132 3.2.x pull request: https://github.com/appcelerator/titanium_mobile/pull/5133
Confirmed as fixed by [~cbarber] and [~emerriman]
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.