storesafe / cordova-sqlite-storage

A Cordova/PhoneGap plugin to open and use sqlite databases on Android, iOS and Windows with HTML5/Web SQL API
Other
2.14k stars 713 forks source link

success is not a function in SQLitePlugin.js #933

Open ppetree opened 4 years ago

ppetree commented 4 years ago

TypeError: success is not a function. (In 'success(_this)', 'success' is undefined) URL: file:///var/containers/Bundle/Application/25D9E487-6F67-4D68-96C1-BB20568A3F47/AppName.app/www/plugins/cordova-sqlite-storage/www/SQLitePlugin.js Line: 171 Column: 18 Error object: {"line":171,"column":18,"sourceURL":"file:///var/containers/Bundle/Application/25D9E487-6F67-4D68-96C1-BB20568A3F47/AppName.app/www/plugins/cordova-sqlite-storage/www/SQLitePlugin.js"}

This is from plugin version 5.0.0 built with Xcode 11.5 and CLI 9.0.0

brodybits commented 3 years ago

Minimal reproduction is needed

https://stackoverflow.com/help/minimal-reproducible-example

ppetree commented 3 years ago

Sorry but I don't have time to build a debug case for you. If you can't reproduce it in a local build on a mac please let me know. I would also suggest you add in my console.log hijacker and view the console output there. (you are using console.log in this plugin as there are two status updates you're logging).