{ "id": "164509", "key": "TIMOB-24143", "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": [ { "id": "20223", "name": "Hyperloop 4.0.0", "archived": false, "released": true, "releaseDate": "2018-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-12-11T16:39:12.000+0000", "created": "2016-11-12T14:11:36.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "Android", "Android6.0", "Hyperloop" ], "versions": [ { "id": "17972", "name": "Release 5.3.1", "archived": false, "released": true, "releaseDate": "2017-02-06" } ], "issuelinks": [], "assignee": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2018-12-19T18:29:18.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" }, { "id": "13715", "name": "Hyperloop", "description": "Hyperloop project" } ], "description": "HI,\r\n\r\nI am using webView via hyperloop. But onPageStarted, onPageFinished and all other callbacks of webViewClient not getting called. Below is the code that i used for the same:\r\n\r\n{code:javascript}\r\nvar url = \"https://www.google.co.in\";\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar WebView = require(\"android.webkit.WebView\");\r\nvar WebViewClient = require(\"android.webkit.WebViewClient\");\r\nvar Activity = require('android.app.Activity');\r\nvar activity = new Activity(Ti.Android.currentActivity);\r\nvar nativeView = new WebView(activity);\r\n\r\nnativeView.setWebViewClient(new WebViewClient({\r\n\tonPageStarted : function(view, url, favicon) {\r\n\t\tTi.API.info('hello onPageStarted');\r\n\t\talert(\"hello onPageStarted\");\r\n\t\treturn false;\r\n\t},\r\n\tonPageFinished : function(view, url) {\r\n\t\tTi.API.info('hello onPageFinished');\r\n\t\talert(\"hello onPageFinished\");\r\n\t\treturn false;\r\n\t}\r\n}));\r\nnativeView.getSettings().setJavaScriptEnabled(true);\r\nnativeView.loadUrl(url);\r\n\r\nwin.add(nativeView);\r\nwin.open();\r\n{code}\r\n\r\nPlease help me on this.\r\n\r\nThanks\r\nPankaj Goyal\r\n", "attachment": [], "flagged": false, "summary": "Hyperloop: Android - onPageStarted and onPageFinished on webViewClient not getting called using Hyperloop", "creator": { "name": "goyalpankaj054@gmail.com", "key": "goyalpankaj054@gmail.com", "displayName": "Pankaj Goyal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "goyalpankaj054@gmail.com", "key": "goyalpankaj054@gmail.com", "displayName": "Pankaj Goyal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appc SDK Version 5.5.1 GA\r\nAppc Studio - 4.7.1\r\nAndroid Version - 6.0.1", "closedSprints": [ { "id": 1103, "state": "closed", "name": "2018 Sprint 25", "startDate": "2018-12-02T16:29:21.531Z", "endDate": "2018-12-16T16:29:00.000Z", "completeDate": "2018-12-15T02:33:24.870Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "400847", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "It looks like you are using the methods incorrectly, maybe you are missing super calls here? [~michael] Can you help him getting in the right direction?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-11-12T15:03:03.000+0000", "updated": "2016-11-12T15:04:59.000+0000" }, { "id": "400848", "author": { "name": "goyalpankaj054@gmail.com", "key": "goyalpankaj054@gmail.com", "displayName": "Pankaj Goyal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "HI @Hans Knoechel,\r\nThanks for the reply.\r\nHow you can call super in javascript. I could not find super calls in any of the examples provided by appcelerator. Please help.\r\n\r\nThanks\r\nPankaj Goyal", "updateAuthor": { "name": "goyalpankaj054@gmail.com", "key": "goyalpankaj054@gmail.com", "displayName": "Pankaj Goyal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-11-12T15:11:51.000+0000", "updated": "2016-11-12T15:19:29.000+0000" }, { "id": "400884", "author": { "name": "goyalpankaj054@gmail.com", "key": "goyalpankaj054@gmail.com", "displayName": "Pankaj Goyal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi,\r\n\r\nWhy you guys have changed the priority of the bug as NONE. This bug is very critical for the release of my application. Please help me out on this ASAP.\r\n\r\nThanks\r\nPankaj Goyal", "updateAuthor": { "name": "goyalpankaj054@gmail.com", "key": "goyalpankaj054@gmail.com", "displayName": "Pankaj Goyal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-11-14T09:56:11.000+0000", "updated": "2016-11-14T09:56:11.000+0000" }, { "id": "400887", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~goyalpankaj054@gmail.com] The priority is set by the assigned engineer after the issue has been determined. It will be looked into in this sprint.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-11-14T10:13:04.000+0000", "updated": "2016-11-14T10:13:04.000+0000" }, { "id": "400967", "author": { "name": "goyalpankaj054@gmail.com", "key": "goyalpankaj054@gmail.com", "displayName": "Pankaj Goyal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi,\r\n\r\nAny help or suggestion on this?\r\n\r\n", "updateAuthor": { "name": "goyalpankaj054@gmail.com", "key": "goyalpankaj054@gmail.com", "displayName": "Pankaj Goyal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-11-15T10:18:00.000+0000", "updated": "2016-11-15T10:18:00.000+0000" }, { "id": "401219", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-11-16T21:41:46.000+0000", "updated": "2016-11-16T21:41:46.000+0000" }, { "id": "401340", "author": { "name": "goyalpankaj054@gmail.com", "key": "goyalpankaj054@gmail.com", "displayName": "Pankaj Goyal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Michael,\r\n\r\nThanks for the reply.\r\nI have tried this with extending as well but still it did not work . When we can expect resolution of this.\r\n\r\nThanks\r\nPankaj Goyal ", "updateAuthor": { "name": "goyalpankaj054@gmail.com", "key": "goyalpankaj054@gmail.com", "displayName": "Pankaj Goyal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-11-17T06:01:05.000+0000", "updated": "2016-11-17T06:01:50.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }