Skip to content
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

IDBCursor problems ios device #245

Closed
yuber1792 opened this issue May 9, 2016 · 2 comments
Closed

IDBCursor problems ios device #245

yuber1792 opened this issue May 9, 2016 · 2 comments

Comments

@yuber1792
Copy link

Hi ,I have problems using the IDBCursor:

object.openCursor().onsuccess = function(event) {
var cursor = event.target.result;

cursor returns null. only ios in android works correctly.

@brettz9
Copy link
Collaborator

brettz9 commented Jun 22, 2016

Can you give the iOS version as well as a complete, but minimal, test case that causes the problem?

@brettz9
Copy link
Collaborator

brettz9 commented Jun 27, 2016

There appears to be a problem with iOS9 and IndexedDB for non-Safari browsers. Our new code (discussed in #252) forces iOS9 non-Safari browsers to use the shim despite them supposedly having IndexedDB support.

Until our next release, you can change your project's bower dependency line for "IndexedDBShim" to https://github.com/axemclion/IndexedDBShim#ios9 and run bower install in your project directory.

Closing for now but feel free to comment further or reopen if your issue is not resolved.

@brettz9 brettz9 closed this as completed Jun 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants