Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to render a local HTML file? #165

Open
samzzz opened this issue Aug 19, 2018 · 1 comment
Open

How to render a local HTML file? #165

samzzz opened this issue Aug 19, 2018 · 1 comment

Comments

@samzzz
Copy link

samzzz commented Aug 19, 2018

I have an HTML file in my Download folder: /mnt/sdcard/Download/file.html
Brave browser renders this HTML file if I use this URL:
file://mnt/sdcard/Download/file.html

Bur your plugin flutter_webview_plugin cannot render it, I get the error ERR_ACCESS_DENIED.

  1. How to render a local HTML file with your plugin (if it is possible) ?
  2. If not possible, which other WebView plugin can render a local HTML file ?
  3. What is the built-in Flutter WebView class ?

Does this error message mean: my flutter app is not allowed to access my Download folder, because my device is not rooted?

Thanks in advance and regards

Device: GALAXY S8+ SM-G955F. Android 8.0. Not Rooted
Flutter beta v0.5.1. Dart 2.0.0-dev.58.0. Windows 10

screenshot_20180819-173014

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

No branches or pull requests

2 participants