@brodybits @janpio  
I updated to 7.1.1  And its not working 

Because of CordovaWebView is now Interface not a Class,  we cant use it so,
```
<org.apache.cordova.CordovaWebView
    android:id="@+id/tutorialView"
    android:layout_width="match_parent"
    android:layout_height="match_parent" />
```
Now changing to **SystemWebView Class** 

I replaced it with 
```
<org.apache.cordova.engine.SystemWebView
 android:id="@+id/SystemWebView"
 android:layout_width="match_parent"
 android:layout_height="match_parent" />
```

 Now Problem is ,
 there is function of **SystemWebView.java (class)**
 **setWebChromeClient()**


```
public void setWebChromeClient(WebChromeClient client) {
        chromeClient = (SystemWebChromeClient)client;
        super.setWebChromeClient(client);
    }

```


And I override  setWebChromeClient() in my main class(WebCall.java)

**which  i  defined above in my question** 

And 

I got Error Regarding Class Cast Exception 
Which i defined in my question 

In Previous Version They using CordovaWebView And I checked They Dont Cast It 

below is the function for previous  version

```
 public void setWebChromeClient(CordovaChromeClient client) {
        this.chromeClient = client;
        super.setWebChromeClient(client);
    }
```
    
So How to Solve it

Thank You




[ Full content available at: 
https://github.com/apache/cordova-android/issues/494 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to