[Android] Enable DOM Storage for WebView
-
Hello,
I have a very simple Qt Android application, which opens a website using WebView, which is created in qml.
However, in the site I'm using javascript object localStorage and when I'm accessing the site using Qt Android WebView, I get an error that localStorage object is null (presumably, it's unsupported).One possible solution that I've found, is enabling DOM storage by calling java method setDomStorageEnabled. However, I don't know how to get WebView object, which was created in qml, in java.
Any idea on how to enable DOM storage for Qts WebView? Or is there any other possible solution?
Any advice would be very appreciated.