{ "id": "159366", "key": "TIMOB-23163", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2018-12-13T06:38:33.000+0000", "created": "2016-04-07T07:08:48.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "17993", "description": "Release 5.2.2", "name": "Release 5.2.2", "archived": false, "released": true, "releaseDate": "2016-04-05" } ], "issuelinks": [], "assignee": null, "updated": "2018-12-13T06:38:33.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": "*Problem Description:*\r\nWhen I use google maps url(https://maps.google.com) or any other pdf url(https://www.onguardonline.gov/articles/pdf-0004-mobile-apps.pdf) inside webView, the webView is unable to open those urls. It shows only a blank screen and there is no error in console. This is happening on Android 6.0.1(device: Nexus 7).\r\nOther url inside webView works fine. \r\n\r\n*Environment Info:*\r\nAppcelerator CLI: 5.2.2\r\nNode.js Version = 0.12.7\r\nTitanium SDKs = 5.2.2.GA\r\nAppcelerator Studio, build = 4.5.0.201602170821\r\nJava Development Kit = 1.7.0_80\r\nandroid version: 6.0.1\r\nPhysical device: Nexus 7\r\n\r\n*Steps to reproduced:*\r\n1. Create a classic project with the test case provided.\r\n2. Run the app\r\n\r\n*Expected:* webView should load google map webpage\r\n*Actual:* webView is unable to load google map webpage. The app shows only a blank screen with no error log.\r\n\r\n*Test Case:*\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\nvar webview = Ti.UI.createWebView({\r\n //url: 'https://www.onguardonline.gov/articles/pdf-0004-mobile-apps.pdf'\r\n url: 'https://maps.google.com'\r\n});\r\nwin.add(webview);\r\nwin.open();\r\n{code}\r\n\r\n*Intercom link:*\r\nhttps://app.intercom.io/a/apps/k9rdlb68/inbox/shossain@appcelerator.com/conversations/4493448913\r\n", "attachment": [ { "id": "58827", "filename": "log.txt", "author": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-04-07T09:08:53.000+0000", "size": 5515, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android 6: webView is unable to open google map url and any pdf url", "creator": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "environment": null, "comment": { "comments": [ { "id": "386654", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Does this work on a device that is not 6.0? I.e 4.x or 5.x device. If it does, then this is probably due to the new runtime permission introduced on 6.0. I looked at your log.txt, there isn't much useful stuff there, could you produce a simple test case so we can reproduce this? Thanks,", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-05-24T17:58:24.000+0000", "updated": "2016-05-24T17:58:24.000+0000" }, { "id": "400039", "author": { "name": "anfen", "key": "anfen", "displayName": "Adam Fennell", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I experienced the same issue years ago, using Android KitKat, with the exact same symptoms. It looks like this issue persists even with Marshmallow. The workaround is to set webView.borderRadius = 1, which causes hardware acceleration to be disabled. If possible, it would still be nice for Appcelerator's WebView implementation to automatically detect and handle this.", "updateAuthor": { "name": "anfen", "key": "anfen", "displayName": "Adam Fennell", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-28T15:17:13.000+0000", "updated": "2016-10-28T15:17:13.000+0000" }, { "id": "400040", "author": { "name": "anfen", "key": "anfen", "displayName": "Adam Fennell", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It is worth adding that the performance of Google Maps, in a WebView on Marshmallow, is nearly unusable. I'm unsure the reason for this, and hope that the Appcelerator team may shed some light.", "updateAuthor": { "name": "anfen", "key": "anfen", "displayName": "Adam Fennell", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-28T15:19:34.000+0000", "updated": "2016-10-28T15:19:34.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }