I have an SQLite database for an Android Expo React Native app, using expo-sqlite 13.4.0. It just stops executing when using Android versions below 13. On iOS it works. cmds
variable has two indexes.
const db = EXPOSQLite.openDatabase(pathToDatabase);
for (let i = 0; i < cmds.length; i++) {
console.log(`>>> AccountDb [schema] >>> cmds >>> ${cmds[i].name}`);
await db.execAsync(cmds[i].up); // it also fails with exec (sync API).
}
I changed the package version and JavaScript implementation. I tried parallel and single execution. None of this was effective. Is it some native implementation's problem?