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

iOS 9 WKWebView support #270

Closed
xlc opened this issue Nov 7, 2016 · 4 comments
Closed

iOS 9 WKWebView support #270

xlc opened this issue Nov 7, 2016 · 4 comments
Assignees
Milestone

Comments

@xlc
Copy link

xlc commented Nov 7, 2016

WebSQL is not supported by WKWebView in iOS 9: https://bugs.webkit.org/show_bug.cgi?id=137760
But IndexedDBShim force to use WebSQL on iOS 9.
Is anyway to make it patch native IndexedDB instead of using WebSQL?

@brettz9
Copy link
Collaborator

brettz9 commented Nov 7, 2016

That is what src/polyfill.js is for (and the file's use within src/setGlobalVars.js). However, I could really use help testing that (once my version 3.0.0 changes are ready) as I have been making many changes which are fixing a number of issues on Chrome and Node but I haven't done any real checking with iOS.

@brettz9 brettz9 added this to the 3.0.0 milestone Nov 7, 2016
@brettz9
Copy link
Collaborator

brettz9 commented Nov 7, 2016

And as a result, I haven't really been applying improvements made within the shimming code to the (more limited) polyfill code.

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

brettz9 commented May 4, 2017

We've abandoned support for polyfill.js which patched bad IndexedDB implementations.

However, if you are just talking about avoiding our code forcing WebSQL, I've added an option, avoidAutoShim to master to do this. Closing as should settle the issue but feel free to reopen if not. Should be added to a new release candidate soon.

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

brettz9 commented May 4, 2017

Now added to 3.0.0-rc.4

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

2 participants