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