When using an iFrame, all the arguments in executeSQL are never sent.
I found that in SQLitePlugin.js the following validation was returning FALSE:
line 363: values.constructor === Array
This seems due to the fact that Array objects created within one iframe do not share [[Prototype]]鈥檚 with arrays created within another iframe.
As a solution i think this could be used instead:
Array.isArray(values)
馃憤
I found the same problem and the same solution with a gwt project.
I have also modified :
line 268 : if (!sqlStatements || sqlStatements.constructor !== Array) {
to
if (!sqlStatements || !Array.isArray(sqlStatements)) {
and
line 275: if (st.constructor === Array) {
to
if (Array.isArray(st)) {
Thanks for reporting. I hope to fix this in the next major release in December 2018 ref: #773
ref: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray