Compare commits

...

1 Commits

Author SHA1 Message Date
Tobias Lins
2f30c8ed72 Update expo-sqlite-adapter.ts 2025-04-26 17:38:38 +02:00

View File

@@ -41,7 +41,9 @@ export class ExpoSQLiteAdapter implements SQLiteAdapter {
private async initializeInternal() {
try {
const db = await openDatabaseAsync(this.dbName);
const db = await openDatabaseAsync(this.dbName, {
useNewConnection: true
});
// Verify database connection before proceeding
const statement = await db.prepareAsync("SELECT 1");