SQLite & iOS 14.4

I have a simple native app that uses SQLite. If I use either of these plugins, the app runs fine on Android 10 and on iOS 12.4.9.
When I run it on iOS 14.4 I get “SQLite not supported”.


Anyone know about any SQLite changes and iOS 14.4?

Thank you

We’re seeing something funny here too. We’re looking at it.

I don’t think there is a problem with iOS 14.4.

Don’t use cordova-sqlite-storage. It doesn’t work with VoltBuilder.

cordova-sqlite-evcore-extbuild-free should work fine, but AppStudio isn’t initializing it properly. We’ll get that sorted very quickly.

Continuing from this topic on the Volbuilder forum, I have just successfully rebuilt my SQLite app on IOS 14.4 using the following:
Config.xml file entry =
<plugin name="cordova-sqlite-storage"/>

Initialisation code =

function onDeviceReady() {
  try {
    if (window.SqlOpenDatabase) {
//  Create database if it does not exist
// For Browser
//    DB = window.SqlOpenDatabase("myApp.db", "1.0", "My App Name");
//For IOS
    DB = window.sqlitePlugin.openDatabase ({name: "myApp.db", iosDatabaseLocation: 'Documents'}, success, fail);
 } else {
    alert("SQLite NOT initialised");
    sqlList = [];
    sqlList[0]=["CREATE TABLE IF NOT EXISTS..etc, etc.", success, fail];
    Sql(DB, sqlList);
catch(err) {
  alert(" Errror: " +  err.message);

I could probably use cordova-sqlite-evcore-extbuild-free now.

This code (or the equivalent to it) is in the 8.5 beta we uploaded yesterday. You should not need to do this with that build.

(We’re looking at cordova-sqlite-storage again)

Good news. Thanks!

Yes, cordova-sqlite-storage will also work.

That plugin was not allowed under PhoneGap (according to the docs), but appears to work well with VoltBuilder.