Why CordovaWebViewClient not working in Cordova 6 anymore

前端 未结 3 2117
北荒
北荒 2020-12-11 08:14

I have written custom webviewclient class to override onPageStarted, onPageFinished etc in cordova 3.7 which was working fine.

In following code is I ha

3条回答
  •  無奈伤痛
    2020-12-11 08:43

    Cordova 4 removed the CordovaWebViewClient : look here

    You may use WebViewClient instead of CordovaWebViewClient (The cordova-plugin-inappbrowser plugin use that for override onPageStarted event).

    public class CustomCordovaWebViewClient extends WebViewClient
    

提交回复
热议问题