{ "id": "77193", "key": "TIMOB-4541", "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": [ { "id": "11359", "description": "Mobile 1.8.0 M06", "name": "Sprint 2011-27", "archived": true, "released": true, "releaseDate": "2011-07-11" }, { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-04-08T01:03:19.000+0000", "created": "2011-06-30T18:07:14.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.1.1" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [ { "id": "11567", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "77192", "key": "TIMOB-4540", "fields": { "summary": "Android: analytics events ti.background and ti.end do not fire", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-04-08T01:03:19.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Ti.Analytics.featureEvent and navEvent do not fire. \r\n\r\nStep 1: run the code below\r\nStep 2: package for distribution\r\nStep 3: click the \"navEvent.android\" and \"featureEvent.android\" buttons\r\n\r\nI did the above steps while Chung watched live analytics and confirmed that these events where not appearing on the server.\r\n\r\n{code:title=\"app.js\"}\r\nTitanium.UI.setBackgroundColor('#fff');\r\n\r\n// create tab group\r\nvar win = Ti.UI.createWindow({\r\n\tlayout: 'vertical'\r\n});\r\n\r\nvar testOneButtonA = Ti.UI.createButton({\r\n\ttitle: \"featureEvent.android\",\r\n\theight: 50,\r\n\twidth: 250,\r\n\ttop: 20\r\n});\r\ntestOneButtonA.addEventListener('click', function(e){\r\n\tTi.Analytics.featureEvent('featureEvent.android');\r\n});\r\n\r\nvar testTwoButtonA = Ti.UI.createButton({\r\n\ttitle: \"navEvent.android\",\r\n\theight: 50,\r\n\twidth: 250,\r\n\ttop: 20\r\n});\r\ntestTwoButtonA.addEventListener('click', function(e){\r\n\tTi.Analytics.navEvent('here', 'there', 'navEvent.android');\r\n});\r\n\r\nvar testOneButtonI = Ti.UI.createButton({\r\n\ttitle: \"featureEvent.iphone\",\r\n\theight: 50,\r\n\twidth: 250,\r\n\ttop: 20\r\n});\r\ntestOneButtonI.addEventListener('click', function(e){\r\n\tTi.Analytics.featureEvent('featureEvent.iphone');\r\n});\r\n\r\nvar testTwoButtonI = Ti.UI.createButton({\r\n\ttitle: \"navEvent.iphone\",\r\n\theight: 50,\r\n\twidth: 250,\r\n\ttop: 20\r\n});\r\ntestTwoButtonI.addEventListener('click', function(e){\r\n\tTi.Analytics.navEvent('here', 'there', 'navEvent.iphone');\r\n});\r\n\r\nwin.add(testOneButtonA);\r\nwin.add(testTwoButtonA);\r\nwin.add(testOneButtonI);\r\nwin.add(testTwoButtonI);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: analytics featureEvent and navEvent do not fire", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 1.7.0\r\nNexus S 2.3.4", "comment": { "comments": [ { "id": "158811", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Analytics are sent immediately {{ti.enroll}, {{ti.start}}, and {{ti.end}}. Other events are sent when a new event comes in and it's been > 5 minutes since the last attempt to send.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-06T14:36:38.000+0000", "updated": "2011-07-06T14:36:38.000+0000" }, { "id": "159035", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.7.2.v20110706211037 on Nexus S 2.3.4, navEvent and FeatureEvent sent, close the application to see the event immediately", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-08T10:19:42.000+0000", "updated": "2011-07-08T10:19:42.000+0000" }, { "id": "253400", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Analytics featureEvent and navEvent do not fire.\r\nThis is not a regression. Issue occurs since 2.1.4.GA\r\n\r\nEnvironment used:\r\nDevice : Google Nexus 7, Android Version: 4.1\r\nSDK: 3.1.1.v20130521153706\r\nCLI version : 3.1.0\r\nOS : MAC OSX 10.7.5\r\nAppcelerator Studio, build: 3.1.2.201305212422\r\nXCode : 4.5.1", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-05-22T10:01:32.000+0000", "updated": "2013-05-22T10:01:32.000+0000" }, { "id": "300170", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as cannot reproduce. Was able to send featureEvent and navEvent from an Android production app.\n\nTested on:\n\nAppcelerator Studio, build: 3.2.3.201403271839\nSDK build: 3.2.2.GA\nCLI: 3.2.3-alpha2\nAlloy: 1.3.1\nXcode: 5.1\nDevices: Samsung Galaxy S3 (4.3)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-04-08T01:02:53.000+0000", "updated": "2014-04-08T01:02:53.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }