fix(android): Fix ClassCastException when doing native things(#987)
This commit is contained in:
parent
9dff31258d
commit
7e68da4ffe
|
@ -1020,7 +1020,9 @@ public class RNCWebViewManager extends SimpleViewManager<WebView> {
|
|||
@Override
|
||||
public void setWebViewClient(WebViewClient client) {
|
||||
super.setWebViewClient(client);
|
||||
mRNCWebViewClient = (RNCWebViewClient) client;
|
||||
if (client instanceof RNCWebViewClient) {
|
||||
mRNCWebViewClient = (RNCWebViewClient) client;
|
||||
}
|
||||
}
|
||||
|
||||
public @Nullable
|
||||
|
|
Loading…
Reference in New Issue