最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

android - Why does my app become unresponsive on CREATE or DELETE commands? - Stack Overflow

programmeradmin1浏览0评论

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?

发布评论

评论列表(0)

  1. 暂无评论