Jonathan Smith
Jonathan Smith

Reputation: 2599

IndexedDBShim works for a bit, then produces errors

I have a fairly data-intensive mobile app based on HTML5 / Javascript using IndexedDb and the IndexedDbShim for devices which do not support idb natively.

For devices that support IndexedDb, the application is fine with no data access problems. However when testing on an iPad Mini using Safari, although the application initially runs ok, browsing around and using the application in its usual way "randomly" throws up the following errors:

Has anyone had this kind of problem before using the IndexedDbShim?

Upvotes: 1

Views: 361

Answers (1)

Morten
Morten

Reputation: 4607

Are you closing your transactions?

I got these types of errors in my tests because I wasn't closing the database and transactions after use.

Only on shimmed browsers.

Upvotes: 1

Related Questions