{ "id": "174618", "key": "AC-6467", "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": null, "resolutiondate": null, "created": "2020-01-09T10:57:29.000+0000", "labels": [ "android", "paypal", "webview" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2020-02-28T09:07:32.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Test page: https://www.pizzartfano.com/Pagamento/metodo:paypal_cc/id:59238/mobile:1/\r\n\r\nThis should load PayPal credit card payment page (attached screenshot). On many device it fails to load the main content blocking the payment operation (attached screenshot). Note that you need a incognito window to load the right page since PayPal redirect you to login page if you previously use it.\r\n\r\nTest apk: https://www.pizzartfano.com/PayPalTest.apk\r\n\r\nMy tests:\r\n- tested with titanium sdk from 8 to 8.3.0\r\n- when fails, on the same device a native simple web view app (https://play.google.com/store/apps/details?id=com.snc.test.webview2), a chrome custom tab and standalone chrome app *works* with the same url\r\n- changing webview provider or device change the result (details below)\r\n- users report problems with the standard login paypal page too\r\n\r\nNote that:\r\n- works on iOS\r\n- cookie banner load anyway, catcha too (occurs after many visits)\r\n- paypal webpage triggers some csp errors (didn't affect chrome standalone)\r\n- in logcat (attached) I see some warnings from autofill service (can't find a way to disable)\r\n\r\nDevice / WebView provider / result:\r\nSamsung SM-T580 (TabA 2016) / Chrome79 / Fails\r\nSamsung SM-T580 (TabA 2016) / Chrome69 / Fails\r\nSamsung SM-T580 (TabA 2016) / SystemWebView79 / Fails\r\nSamsung SM-G973F (S10) / Chrome 74 / Works\r\nSamsung SM-G973F (S10) / SystemWebView74 / Works\r\nSamsung SM-G973F (S10) / ChromeBeta80 / Fails\r\nSamsung SM-G973F (S10) / SystemWebView79 / Fails\r\nXiaomi MiMix2S / Chrome79 / Fails\r\nXiaomi MiMix2S / Chrome72 / Fails\r\nAndroid Emulator / SystemWebView74 / Works\r\n\r\nTest code:\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'white'\r\n});\r\nvar webview = Ti.UI.createWebView({\r\n\twidth: Ti.UI.FILL,\r\n\theight: Ti.UI.FILL,\r\n\turl:\"https://www.pizzartfano.com/Pagamento/metodo:paypal_cc/id:59238/mobile:1/\"\r\n});\r\nwin.add(webview);\r\nwin.open();\r\n{code}\r\n", "attachment": [ { "id": "67229", "filename": "logcat.txt", "author": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-01-09T10:54:03.000+0000", "size": 50187, "mimeType": "text/plain" }, { "id": "67228", "filename": "Screenshot_20200109-110143.jpg", "author": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-01-09T10:54:04.000+0000", "size": 154230, "mimeType": "image/jpeg" }, { "id": "67230", "filename": "Screenshot_20200109-110451.jpg", "author": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-01-09T10:54:04.000+0000", "size": 406142, "mimeType": "image/jpeg" }, { "id": "67275", "filename": "Screenshot_20200212-095546.jpg", "author": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-02-12T08:57:28.000+0000", "size": 50438, "mimeType": "image/jpeg" }, { "id": "67276", "filename": "Screenshot_20200212-095643_Chrome Beta.jpg", "author": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-02-12T08:57:28.000+0000", "size": 86846, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "[Android] WebView didn't load PayPal site", "creator": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Windows / Mac", "comment": { "comments": [ { "id": "453749", "author": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "body": "I did many other tests, can't find a way to solve the problem.", "updateAuthor": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-01-20T15:15:03.000+0000", "updated": "2020-01-20T15:15:03.000+0000" }, { "id": "454192", "author": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "body": "I can add more details: the problem is related to css vh propriety.\r\nIn Titanium's WebView implementation isn't work properly and any related size results in 0 pixel.\r\nI've added a test page to the test app and screenshot.\r\n\r\nMeanwhile I had to implement PayPal buttons, that use the same page in a fixed height iframe and works in Titanium WebView.", "updateAuthor": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-02-12T08:55:15.000+0000", "updated": "2020-02-12T08:55:15.000+0000" }, { "id": "454235", "author": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "body": "Test link updated", "updateAuthor": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-02-13T06:08:04.000+0000", "updated": "2020-02-13T06:08:04.000+0000" }, { "id": "454430", "author": { "name": "antonioduran", "key": "antonioduran", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello @Carlo . Good afternoon / evening.\r\n\r\nI have implemented paypal in these days using a local html, and everything is working good.\r\n\r\nSuggestion: Please try to add this property to your webview:\r\n\r\n\r\n\r\n{code:java}\r\n\"#mWebView\" : {\r\n\tborderRadius : 1\r\n}\r\n{code}\r\n\r\n,and try again.\r\n\r\nPlease let me know how it goes, and whether you have any doubt or question.\r\n\r\nThanks, and best,\r\nAntonio Duran.", "updateAuthor": { "name": "antonioduran", "key": "antonioduran", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-02-25T18:15:37.000+0000", "updated": "2020-02-25T18:16:00.000+0000" }, { "id": "454465", "author": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "body": "thank you for the workaround\r\nborderRadius makes css vh propery work correctly and I can browse PayPal credit card page correctly\r\n\r\n...but why???\r\nvh propery is widely used in the web and nobody found this problem?", "updateAuthor": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-02-28T09:07:32.000+0000", "updated": "2020-02-28T09:07:32.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }