From the WebView documentation, it says:
setDatabaseEnabled sets whether the database storage API is enabled.setDomStorageEnabled sets whether the DOM storage API is enabled.So I want to ask what is database storage API and what is DOM storage API? What are their differences?
setDatabaseEnabled refers to the Web SQL Database API which allows webpages to store data in a relational database. However, this API is actually deprecated.
See https://en.wikipedia.org/wiki/Web_SQL_Database
setDomStorageEnabled refers to the HTML5 Web Storage API, which allows web pages to store key-value pairs of data, similar to cookies, but with larger storage capacity.
See https://en.wikipedia.org/wiki/Web_storage
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