Enable DOM storage in the Android WebView
commit83a05cd1f865970fb67c04b45ac3fcb578493db1
authorRobert J. Macomber <robertm@dilithium>
dateWed 4 Oct 2017, 19:27 (9 years ago)
parent407c193
reflex-dom/java/org/reflexfrp/reflexdom/MainWidget.java+1
@@ -26,6 +26,7 @@ public class MainWidget {
2626 ws.setJavaScriptEnabled(true);
2727 ws.setAllowFileAccessFromFileURLs(true);
2828 ws.setAllowUniversalAccessFromFileURLs(true);
29+ ws.setDomStorageEnabled(true);
2930 wv.setWebContentsDebuggingEnabled(true);
3031 // allow video to play without user interaction
3132 wv.getSettings().setMediaPlaybackRequiresUserGesture(false);