While rendering HTML5 page in android where i had used localStorage of HTML5.
localStorage["temp"] = "test";
For above line it gives error: TypeError: 'null' is not an object (evaluating 'localStorage["temp"] = "test"').
(It works perfectly in browsers-chrome or firefox, In html5 storage page its written it supports android 2.0+)
Try setting that to your webview settings :
yourWebViewObject.getSettings().setDomStorageEnabled(true);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With