Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Not working on iOS13 with WKWebView #203

Open
ragcsalo opened this issue May 18, 2020 · 2 comments
Open

Not working on iOS13 with WKWebView #203

ragcsalo opened this issue May 18, 2020 · 2 comments

Comments

@ragcsalo
Copy link

The sync process is successful, but I can't open the URL, it says it's outside of the sandbox:

Ignoring request to load this main resource because it is outside the sandbox

The file I want to open is located here:

/Users/benkesmith/Library/Developer/CoreSimulator/Devices/4CDF822C-5552-4881-BDD0-F01A0D046AF8/data/Containers/Data/Application/20E98EE5-C810-4EBB-9D04-2F26BE93CEE2/Library/NoCloud/updated/www/index.html

Is there a workaround for WKWebView?

@ragcsalo
Copy link
Author

No news on this one? Does it mean we can't use contentsync on WKWebView? :-(

@ragcsalo
Copy link
Author

Allright... so it turned out that I had to use ContentSync.loadUrl with WKWebView to load the URL. And it works on newer devices (iOS 13 and 14 beta). But it doesn't work on iOS 10 an 12. :-( Are there any other methods that I could try to jump to the downloaded index.html file on iOS?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant