Hi,
One of the components of our application uses UIWebView and it's support of webSQL.
Now, We are upgrading the app according to Apple's guidelines and switching from UIWebView to WKWebView.
But we were unsuccessful migrating to WKWebView and getting webSQL to work.
My Native code is really simple:
WKWebViewConfiguration *conf = [[WkWebViewConfiguration alloc] init]
self.webView = [[WkWebView alloc] initWithFrame:self.view.bounds configuration:conf];
[self.webView loadRequest[NSUrlRequest requestWithURL:[NSURL URLWithString:@"....................."]]];
And our javascript
var db = window.openDatabase('local_db', '1.0', 'local database', 200 * 1024 * 1024);
We always get the following error message "Error: SecurityError: DOM Exception 18"...
You said that "WKWebsiteDataStore still supports WebSQL data types". Can you please help us on how to use webSQL under WKWebView in our application.
Our app use the iOS sdk 13.5 and Xcode version 11.5.
Post
Replies
Boosts
Views
Activity
Hi Raivat,
I want to ask you if you found a fix for this problem.