{ "id": "139720", "key": "TIMOB-18030", "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": null, "resolutiondate": null, "created": "2014-11-13T22:01:34.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-3.4.1", "reprod" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" }, { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" }, { "id": "16676", "description": "Release 3.4.1", "name": "Release 3.4.1", "archived": false, "released": true, "releaseDate": "2014-11-14" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:54:49.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h5.Description\r\n\r\n*Please note* This only is incorrect when checking the last event on the device, the payload sent by the device has the correct version number as verified by checking what staging server is receiving. On iOS the correct version number is returned.\r\n\r\nWhen using the getLastEvent method or checking the lastEvent property the payload returned refers to the version as 4, when it is actually version 3. This only occurs since the change in the payload version, prior to 3.3.0 the version number is correctly referred to as 2.\r\n\r\n*On device*\r\n{code}\r\n{\"id\":\"21f82f11-9877-4a21-b907-5ce9e28f7f95:b6cc58f2ad3f82f5\",\"sid\":\"0901c6f4-5df8-4d47-bf37-3d87b362aa66\",\"ts\":\"2014-11-13T19:20:09.196+0000\",\"event\":\"app.nav\",\"seq\":22,\"data\":{\"to\":\"navEventTo\",\"eventName\":\"navEventName\",\"n\\u00e1vEv\\u00e9ntV\\u00e1l\\u00fa\\u00e9\":\"n\\u00e1vEv\\u00e9ntK\\u00e9y\",\"from\":\"navEventFrom\"},\"mid\":\"b6cc58f2ad3f82f5\",\"ver\":\"4\",\"aguid\":\"b0a7e2b9-05a3-4ea1-86e0-728ef9efaa61\"}\r\n{code}\r\n\r\n*On staging*\r\n{code}\r\n{\"id\":\"21f82f11-9877-4a21-b907-5ce9e28f7f95:b6cc58f2ad3f82f5\",\"sid\":\"0901c6f4-5df8-4d47-bf37-3d87b362aa66\",\"ts\":\"2014-11-13T19:20:09.196+0000\",\"event\":\"app.nav\",\"seq\":22,\"data\":{\"to\":\"navEventTo\",\"eventName\":\"navEventName\",\"n\\u00e1vEv\\u00e9ntV\\u00e1l\\u00fa\\u00e9\":\"n\\u00e1vEv\\u00e9ntK\\u00e9y\",\"from\":\"navEventFrom\"},\"mid\":\"b6cc58f2ad3f82f5\",\"ver\":\"3\",\"aguid\":\"b0a7e2b9-05a3-4ea1-86e0-728ef9efaa61\"}\r\n{code}\r\nh5.Steps To Reproduce\r\n\r\n1. Add the attached app.js to an existing project and build to device.\r\n2. Run the app and send an event by tapping one of the buttons in the top half of the screen\r\n3. Tap the getLastEvent button and the bottom of the screen will be updated with the event sent. \r\n\r\nh5.Actual Result\r\n\r\nThe payload is like the above, the version number is 4.\r\n\r\nh5.Expected Result\r\n\r\nThe payload should match what we see on staging, with the version number being 3.", "attachment": [ { "id": "52570", "filename": "app.js", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-11-13T22:01:34.000+0000", "size": 4838, "mimeType": "text/javascript" } ], "flagged": false, "summary": "Android: The version number in the analytics payload is incorrect when using getLastEvent or lastEvent to show payload on device", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Mac OSX 10.10\r\nAppcelerator Studio, build: 3.4.1.201410281743\r\nTitanium SDK build: 3.4.1.v20141111174117, 3.4.0.GA, 3.3.0.GA\r\nTitanium CLI, build: 3.4.1-rc\r\nAlloy: 1.5.1\r\nNexus 9 (5.0), Samsung Galaxy S4 (4.4.2)", "comment": { "comments": [ { "id": "424820", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1 GA\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.2\r\nTi CLI 5.0.14\r\nAlloy 1.9.11\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-26T18:17:39.000+0000", "updated": "2017-07-26T18:17:39.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }