Skip to content

Local HTML bug #114

@HaijunWei

Description

@HaijunWei

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions