{ "id": "111049", "key": "TIMOB-13034", "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": "2013-03-14T15:42:27.000+0000", "created": "2013-03-12T12:07:17.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios", "mobile", "mobilesdk", "titanium" ], "versions": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T18:50:41.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": "I tried using the analytics from titanium and found that sometimes it fetches the analytics and sometimes not.\r\n\r\n*in my tiapp.xml* i set analytics to true.\r\n{code}\r\ntrue\r\n{code}\r\n\r\nand in app.js\r\n{code}\r\nTitanium.UI.setBackgroundColor('#fff');\r\n\r\nvar win = Titanium.UI.createWindow({\r\n\r\n});\r\nwin.open();\r\n\r\nwin.addEventListener(\"click\", function() {\r\n\t\r\n\tTi.Analytics.navEvent(\"AFTER open to\", \"click event\");\r\n});\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Titanium analytics only sent when app is packaged for distribution", "creator": { "name": "anigam", "key": "anigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "anigam", "key": "anigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Titanium Mobile SDK, iOS", "comment": { "comments": [ { "id": "242225", "author": { "name": "anigam", "key": "anigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "body": "That is not a bug actually, it was user error. But in my analysis i found its not working for developer build.", "updateAuthor": { "name": "anigam", "key": "anigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-03-14T13:24:40.000+0000", "updated": "2013-03-14T13:24:40.000+0000" }, { "id": "242243", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is as expected, based on the comments here:\r\n\r\nhttp://docs.appcelerator.com/titanium/latest/#!/guide/Ti_Analytics\r\n\r\n\"In order for your app's analytics data to show up you need to package your app for distribution.\"", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-14T15:42:27.000+0000", "updated": "2013-03-14T15:42:27.000+0000" }, { "id": "414317", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T18:50:41.000+0000", "updated": "2017-03-21T18:50:41.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }