Skip to content

Commit

Permalink
Actually use the WebViewClient in sample app
Browse files Browse the repository at this point in the history
Summary: By not actually using the WebViewClient we woudn't resolve the artificial call to shouldInterceptRequest.

Reviewed By: anwesht

Differential Revision: D35962985

fbshipit-source-id: 2fcedf8c2d991b697fd2d75c4567c14545030e48
  • Loading branch information
Gerben Janssen van Doorn authored and facebook-github-bot committed Apr 28, 2022
1 parent a9eed04 commit 423e2ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public WebResourceResponse shouldInterceptRequest(
}
};

webview.setWebViewClient(client);
webview.loadUrl(url);
}
}

0 comments on commit 423e2ca

Please sign in to comment.