-
Notifications
You must be signed in to change notification settings - Fork 937
Closed
Labels
Description
I loaded an HTML from the sandbox and found that the css file was not loaded. I found a problem after reading the source code. In FlutterWebviewPlugin.m
line 109
[self.webview loadFileURL:htmlUrl allowingReadAccessToURL:htmlUrl];
If allowingReadAccessToURL is a directory, the css file can be loaded.
Is it possible to add a directory parameter to allowingReadAccessToURL?
Reference:
https://www.jianshu.com/p/663c63db9b0f