fluttercommunity / fluttercommunity/flutter_webview_plugin

How to render a local HTML file?

Aperta
#165 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
1.5k
Fork
938
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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](https://user-images.githubusercontent.com/5325053/44310477-47a39880-a3d7-11e8-8252-31e9bde5b4fb.JPG)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.