Back to Blog
Opendatabase sqlite6/7/2023 ![]() The app runs in a WebView so it should be using WebSQL, but in Android the plugin overrides the API and implants into the window object new functions that might default to a different implementation, rather than the browser API. Then we have that Android independently supports SQLite to be used from Java APIs as one of its main persistence mechanisms.Ĭordova is special. In Android, browsers and WebViews support WebSQL, along with local storage and session storage from the first versions, and also IndexedDB since KitKat. Most browsers implement the specification using SQLite. ![]() But it is available in most desktop and mobile browsers. WebSQL (window.openDatabase) is a deprecated web standard.Is there a maximum the database size that can be created by the above two methods?.Are the databases created by the call persistent? That is, is the data available after closing and reopening the cordova packaged apps?.If the answer is yes, then is () function wrapper around window.openDatabase()?. ![]()
0 Comments
Read More
Leave a Reply. |