{ "id": "172916", "key": "TIMOB-26768", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-03-20T18:04:05.000+0000", "created": "2019-01-25T18:01:42.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-03-20T18:04:09.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": "Hello, \r\nWe have in our application a webview which is loading some links that redirect the user to some PDF files. We know that the Android browser has some issues with PDFs and as a workaround, we use the beforeload event to catch the URL and open the PDFs using other means. \r\nThe problem that we see is that the event is only being triggered using an emulator. If we switch to a physical device (we tried on a Pixel 1 and on a Galxy S9) the event is not triggered but ONLY with the links that redirect the user to a PDF. If the link sends the user to a regular html file it works as expected. \r\n\r\nTest Code:\r\n{code}\r\n$.index.open();\r\n\r\nfunction init(){\r\n var webUrl = '
Open PDF\r\n \t