{ "id": "88307", "key": "TIMOB-8133", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-03-25T21:45:47.000+0000", "created": "2012-03-20T16:18:51.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-03-25T21:45:47.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "*Code*\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar button1 = Ti.UI.createButton({\r\n\ttitle: 'Event 1',\r\n\tleft: 50,\r\n\ttop: 200,\r\n\twidth: 100,\r\n\theight: 50\r\n});\r\n\r\nvar button2 = Ti.UI.createButton({\r\n\ttitle: 'Event 2',\r\n\tleft: 180,\r\n\ttop: 200,\r\n\twidth: 100,\r\n\theight: 50\r\n});\r\n\r\nbutton1.addEventListener('click', function(e)\r\n{\r\n\tTi.Analytics.featureEvent('app.feature.button1',{ title:'button1 has been pressed.' });\r\n});\r\n\r\nbutton2.addEventListener('click', function(e)\r\n{\r\n\tTi.Analytics.featureEvent('app.feature.button2',{ title:'button2 has been pressed.' });\r\n});\r\n\r\nwin.add(button1);\r\nwin.add(button2);\r\nwin.open();\r\n\r\n{code}\r\n\r\n*Expected behavior*\r\nWhen you click on either of the buttons, it should sent analytics data to our server.\r\n\r\n*Actual behavior*\r\nWhen you click on either of the buttons, it indeed does print out the following: \r\n{code}[INFO] Analytics->featureEvent with event: app.feature.button1, data: {\r\n title = \"button1 has been pressed.\";\r\n}\r\n{code}\r\n\r\nHowever the data is not being captured by our end. I worked with Chung Liu to figure out what the issue is, and we have concluded that this seems to be issue with the platform not sending Ti.Analytics.featureEvent events. He told me to open a TIMOB JIRA ticket about this.\r\n\r\n*Notes*\r\n-This only seems to be affected by iOS, Android seems to work fine.", "attachment": [], "flagged": false, "summary": "iOS: Ti.Analytics.featureEvent not sending data", "creator": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "environment": "Titanium SDK version: 1.8.0.1\r\nTitanium Studio version: 1.0.9.201202141208", "comment": { "comments": [ { "id": "188546", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Closing ticket, until I get more details from customer regarding this issue.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-03-25T21:45:47.000+0000", "updated": "2012-03-25T21:45:47.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }