Permalink
Browse files

Change DomStorageEnabled default value to true

Summary:
Many websites use domstorage and never think of its unavailability, which usually leads to a blank page on android and hard for developers to debug. I think it's better to enable domstorage by default, for convenience and consistency to iOS and PC.
Closes #11333

Differential Revision: D4437165

Pulled By: hramos

fbshipit-source-id: a00441cb5214cca27927471d3a33f030b9ff9b52
  • Loading branch information...
sunnylqm authored and facebook-github-bot committed Jan 19, 2017
1 parent b850af7 commit 829019400aca367656dd18110d2e7dd845b9d043
@@ -340,6 +340,7 @@ public void onGeolocationPermissionsShowPrompt(String origin, GeolocationPermiss
mWebViewConfig.configWebView(webView);
webView.getSettings().setBuiltInZoomControls(true);
webView.getSettings().setDisplayZoomControls(false);
webView.getSettings().setDomStorageEnabled(true);
// Fixes broken full-screen modals/galleries due to body height being 0.
webView.setLayoutParams(

0 comments on commit 8290194

Please sign in to comment.