-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
Is there an existing issue for this?
- I have searched the existing issues
- I have read the guide to filing a bug
Use case
The issue is related to WKWebView, as it requires a separate URL for resource location if we load the local HTML file.
The current implementation of the loadFile is the following

Which only works for the following structure
root/
....css/
........styles.css
....js/
........func.js
....index.html
And makes it impossible to work if we have something like in the example below
root/
....css/
........styles.css
....js/
........func.js
....en/
........index.html
....ua/
........index.html
Proposal
The easiest solution would be to allow the configuration readAccessUrl as an optional argument

However, since this is a WKWebView-related issue,
might be a good idea to extend the WebKitWebViewController.
Something as the following, or any other way which we could use to customize the path

