-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[email protected] - SQLite transaction success part is undefined. #732
Comments
Your usage is incorrect. this._db.transaction().then(tx => tx.executeSql(...)).then(result => ...); On Oct 19, 2016 12:14 PM, "NeoLSN" [email protected] wrote:
|
@ihadeed |
[email protected], the tx
[email protected], the tx
The different thing is the success part on [email protected] is 'undefined'. |
Sorry, never mind my previous reply, got things mixed up. Your usage is correct. Just had a look at what's going on. The issue is happening here https://github.com/driftyco/ionic-native/blob/master/src/plugins/plugin.ts#L70-L81
I'll fix this soon. |
SQLite transaction will not resolve or reject after tx.executeSql.
It just stock in there.
No Transaction done' or 'Transaction error: ' will be logged.
2.2.3 works fine just needs to change resolve/reject function order.
The text was updated successfully, but these errors were encountered: