{ "id": "152309", "key": "TIMOB-19782", "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": "2015-10-29T00:42:31.000+0000", "created": "2015-10-23T21:34:55.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-5.1.0" ], "versions": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "issuelinks": [ { "id": "49435", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "152184", "key": "TIMOB-19744", "fields": { "summary": "Android : Geolocation callback is not being called on android 6.0", "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": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "49525", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "152452", "key": "TIMOB-19821", "fields": { "summary": "Android 6.0: Device & emulator logs don't show up in studio console", "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": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-10-29T00:42:46.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": "h5.Steps To Reproduce:\r\n1. Use the following code in the app.js:\r\n{code}\r\nvar win = Ti.UI.createWindow({ \r\n title: \"Test\" \r\n}); \r\nvar button = Titanium.UI.createButton({ \r\n title: 'Hello', \r\n top: 10 \r\n}); \r\nbutton.addEventListener('click',function(e) \r\n{ \r\n Titanium.API.info(\"You clicked the button\"); \r\n}); \r\n\r\nwin.addEventListener('click',function(){\r\n\tTi.API.info(\"You clicked the window\");\r\n});\r\n\r\nwin.addEventListener('focus',function(){\r\n\tTi.API.info(\"Window was focussed\");\r\n});\r\n\r\nwin.add(button); \r\n \r\nwin.open(); \r\n{code}\r\n2. Build the app for android 6.0 device/emulator.\r\n\r\nh5.Actual Results:\r\n1. None of the eventlisteners are fired.\r\n2. The listeners are fired on android 5.1.1.\r\n\r\nh6.Expected Results:\r\n1. The eventlisteners should fire on android 6.0", "attachment": [], "flagged": false, "summary": "Android: eventListeners don't fire on android 6.0", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppc Studio : 4.4.0.201510192227\r\nTi SDK : 5.1.0.v20151022152020\r\nTi CLI : 5.0.5\r\nAlloy : 1.7.18\r\nMAC Yosemite : 10.10.5\r\nAppc NPM : 4.2.1-6\r\nAppc CLI : 5.1.0-38\r\nNode: v0.10.37\r\nNexus 5 - Android 6.0\r\nAndroid emulator : Android 6.0", "comment": { "comments": [ { "id": "368220", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-29T00:41:54.000+0000", "updated": "2015-10-29T00:42:14.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }