Replying to @harrie-pieters
If you look at the documentation, https://docs.expo.dev/versions/latest/sdk/sqlite/, there is no longer openDatabase only SQLite.openDatabaseSync (and SQLite.openDatabaseAsync). So my guess is changing openDatabase to openDatabaseSync should solve the issue (untested though).
import * as SQLite from 'expo-sqlite';
// overwrite the `openDatabase()`
SQLite.openDatabase = SQLite.openDatabaseSync;
However this continues to call problem because the openDatabaseSync()
and openDatabaseAsync()
return type also does not match the typeorm
driver spec. I get
databaseConnection.transaction is not a function (it is undefined)