Post

Replies

Boosts

Views

Activity

Reply to Webview in widget
Is there any way to access WKWebView while in a Widget? I don't need to display it, but I need to access the data stored in an IndexedDb on a site so I can populate the Widget correctly. This is for offline, so I can't go back to the web-site itself. I just want to create, use and then drop the WKWebView to access the data displayed (and stored) previously, or in the case of a notification, to update the stored data with the latest incoming data without opening the app. (This is to keep everything in sync in intermittent environments) I have the offline behavior working fine, just not in a widget. Alternatively, is there any way to bypass the WKWebView and access the stored data (localStorage and IndexedDb) associated with a site that is stored by WKWebView. Finally, if nothing else is available, is there any way to intercept the WKWebKit data storage so the app can take control of how the data is stored?
1w