You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
executeSql API always returns a rejected promise even for successful execution of queries. For instance, the following table creation returns an error but the table is created successfully - I've verified this by downloading the .db file and opening it with DB Browser for SQLite.
I have also verified successful insertions into the table but the promise is always returned as rejected. Any query executed with executeSql returns as rejected. But the same query executed with sqlBatch returns a resolved promise.
The text was updated successfully, but these errors were encountered:
ionic version - 6.18.1
cordova --version: 11.0.0
Angular CLI: 13.1.4
Android: 12 (SDK: 31)
executeSql API always returns a rejected promise even for successful execution of queries. For instance, the following table creation returns an error but the table is created successfully - I've verified this by downloading the .db file and opening it with DB Browser for SQLite.
Android Logcat has the following output:
I have also verified successful insertions into the table but the promise is always returned as rejected. Any query executed with
executeSql
returns as rejected. But the same query executed withsqlBatch
returns a resolved promise.The text was updated successfully, but these errors were encountered: