-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
Still Got an Error of IndexedDB on PhoneGap #260
Comments
Well I needed an update to take a bit more attention. I searched for IndexedDB with Cordova for a few months and after many failures of each script, plugin or modules, I decided take a consultancy if anyone consider and if it's not unappropriate. I tried maybe more scripts, plugins (indexeddb-async, MSOpentech/cordova-plugin-indexeddb, and DickvdBrink/cordova-indexeddb) and npm packages (backbone-idb, db.js, dexie, idb-wrapper, indexeddbshim, pseudo-worker, treo, ydn.db) than below hence not a single solution I reached yet. I tried all either one by one or all together but I'm not sure how to deal with the shim hierarchy.
After all and not sure implemented the issues truly #167, #144 and dexie.js/issues#63 I'm getting following errors of require parameter if I don't include require.js as first script and the error below if I include then. Here I kindly ask for some help via tagging people realised into indexedDB with issues. |
I'm a bit focused on finishing some current work before I may have a chance to look at platform-specific bugs (and no promises on that even). I'm hoping to get ready for a new release and hopefully around that time we can get people testing, including those on different devices/environments and those responsible for other libraries (such as Treo, Dexie, etc.). |
Firstly, in looking at your original post more carefully, it looks like you are attempting to use the Node API instead of just using the browser's IndexedDB API (first optionally forcing its use (where WebSQL is available) via So, you can:
Secondly, we've added a new release, so it'd be best to test against the latest release candidate. I will close but feel free to comment further or reopen if you are having problems with the latest release. |
Thanks for your effort @brettz9, I was not very intellectual about |
Briefly, after I wanted to add an IndexedDB plugin I just faced minimatch issue (npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue #13323) and then reinstalled whole the node & npm hence, the phonegap didn't work properly if I try to add platform 'android'. Adding below the parameters to my 'document.ready' function wasn't a solution yet and then as a result;
I couldn't think of how to solve right now. Actually I tried some other IndexedDB plugins too, hence anyone didn't satisfying enough yet to solve the problem. Maybe not this but they also remain with same kind of errors.
Many thanks in advance.
The text was updated successfully, but these errors were encountered: