Hello everyone!
Please could you help me with this issure:
- SDK Version: 42
- Platform: Android
- SQLite
This code worked exellent with Expo SDK 40, but in the new version 42 it works very strange: both functions (on success and in error) run in turn.
componentDidMount() {
db.transaction(tx => {
tx.executeSql(
"create table if not exists items ...", //there is more code here
[],
console.log("table items created"),
console.log("table items is not OK")
);
});
this.updateFromDb();
}
There is screenshot of command line:
Who know why it’s happend and how can I do to fix it?