{ "id": "106594", "key": "AC-1865", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2013-04-04T23:46:07.000+0000", "created": "2012-12-15T21:47:20.000+0000", "labels": [ "regression" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:40: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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Under SDK 2.14, it was possible to trap App-level events inside a webview's javascript block by using Ti.App.addEventListener(). Under 3.0, this no longer seems to work.\r\n\r\nAn easy workaround is to create a function inside the webview, then put the Ti.App.addEventListener code to the javascript module that hosts the webview. Then execute the function inside the webview using webview.evalJS('myfunction()');", "attachment": [], "flagged": false, "summary": "Android: Ti.App.addEventListener doesn't work inside a WebView under SDK 3.0", "creator": { "name": "markb@mantisbible.com", "key": "markb@mantisbible.com", "displayName": "Mark Burggraf", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "markb@mantisbible.com", "key": "markb@mantisbible.com", "displayName": "Mark Burggraf", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android, Ti SDK 3.0 GA", "comment": { "comments": [ { "id": "245843", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Could you upload a sample project that demonstrates the issue? Also, check the latest 3.1 SDK", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-04-04T23:46:07.000+0000", "updated": "2013-04-04T23:46:07.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }