on develop help sign in
Enable DOM storage in the Android WebView
83a05cdRobert J. Macomber
reflex-dom/java/org/reflexfrp/reflexdom/MainWidget.java+1
@@ -26,6 +26,7 @@ public class MainWidget {
26 ws.setJavaScriptEnabled(true);
26 ws.setJavaScriptEnabled(true);
27 ws.setAllowFileAccessFromFileURLs(true);
27 ws.setAllowFileAccessFromFileURLs(true);
28 ws.setAllowUniversalAccessFromFileURLs(true);
28 ws.setAllowUniversalAccessFromFileURLs(true);
29+ ws.setDomStorageEnabled(true);
29 wv.setWebContentsDebuggingEnabled(true);
30 wv.setWebContentsDebuggingEnabled(true);
30 // allow video to play without user interaction
31 // allow video to play without user interaction
31 wv.getSettings().setMediaPlaybackRequiresUserGesture(false);
32 wv.getSettings().setMediaPlaybackRequiresUserGesture(false);