mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-11 22:32:38 +08:00
disable debugging of web views
Reviewed By: andreicoman11 Differential Revision: D2773171 fb-gh-sync-id: 41b1313c2ec3d3a22cf56ee15e452b978adf5a78
This commit is contained in:
committed by
facebook-github-bot-4
parent
ebfbfd58b7
commit
4769bdc013
@@ -76,7 +76,8 @@ public class ReactWebViewManager extends SimpleViewManager<WebView> {
|
||||
|
||||
static {
|
||||
if (ReactBuildConfig.DEBUG && Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
|
||||
WebView.setWebContentsDebuggingEnabled(true);
|
||||
// TODO(T9455950): re-enable debugging
|
||||
// WebView.setWebContentsDebuggingEnabled(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user