fluttercommunity / fluttercommunity/flutter_webview_plugin

Load local file (HTML)?

Open
#653 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.5k
Forks
938
PR merge metrics
No merged PRs in 30d

Description

I have read the documentation which specifies I need to enable:
```
withLocalStorage: true,
withLocalUrl: true,
allowFileURLs: true,
```
and `localUrlScope` for iOS.

But I cannot figure out where to place the html file, and how to load it with the `url:`

I tried:
`url: 'file:///assets/test.html',`

But that did not work?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.