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
👍
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)) {
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]]’s with arrays created within another iframe.
As a solution i think this could be used instead:
Array.isArray(values)
The text was updated successfully, but these errors were encountered: