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

safari 9 incompatible #227

Closed
PedroJusto opened this issue Nov 2, 2015 · 8 comments
Closed

safari 9 incompatible #227

PedroJusto opened this issue Nov 2, 2015 · 8 comments
Assignees
Milestone

Comments

@PedroJusto
Copy link

with safari 8 everithing was working, in safari 9 : "TypeError: undefined is not an object (evaluating 'indexedDB.open')"

@DickvdBrink
Copy link
Collaborator

Hmz, I tried this with a cordova application and everything worked there but that uses the webview.

I dont have access to an iPad with iOS 9 this week but will try to check it out

@PedroJusto
Copy link
Author

can you try in safari 9 browser? I use your shim in a webworker and all works good until i updated safari to version 9.

since Web Workers don't have a window object, in my webworker I do "window= self;" and "importScripts('indexeddbshim.js')".

@open-environment
Copy link

i get the same error.

@mauron85
Copy link

mauron85 commented Jan 8, 2016

same here. with cordova ios and ios 8.4.1

@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
@brettz9 brettz9 reopened this Jun 27, 2016
@brettz9
Copy link
Collaborator

brettz9 commented Jun 27, 2016

Apologies, my last comment pertained to non-Safari iOS9 browsers. I have made a fix for the web workers issue, though not yet tested. Could someone report back on whether things are working now?

@brettz9 brettz9 self-assigned this Jan 20, 2017
@brettz9 brettz9 added this to the 3.0.0 milestone Jan 20, 2017
@brettz9 brettz9 added this to Safari in Browser bugs Feb 16, 2017
@brettz9
Copy link
Collaborator

brettz9 commented May 4, 2017

Things are working fairly well on Desktop Safari 10 and Chrome, but I don't have Safari version 9 or iOS9 to test.

We have a new release candidate available for testing.

As I haven't heard back, I'll close now... A lot has changed since version 2 (including breaking changes affecting existing data) so best to file reports against the version 3.0.0 RC (currently RC-3).

@brettz9 brettz9 closed this as completed May 4, 2017
@brettz9
Copy link
Collaborator

brettz9 commented May 4, 2017

I might add that per #252 (comment) a more recent version (prior to a number of improvements though) was working fine with IOS9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Browser bugs
Safari/iOS
Development

No branches or pull requests

5 participants