fluttercommunity / fluttercommunity/flutter_webview_plugin

How to render a local HTML file?

オープン
#165 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
1.5k
フォーク
938
PR マージ指標
30日以内にマージされた PR はありません

説明

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)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

このレポートには、リポジトリのファイル、テスト、エントリポイントが記載されていません。まず Android 8 で file:// URL を再現し、plugin による Android WebView の処理を追跡してください。ローカルファイルがサポートされているかを確認し、その結果の挙動を適切なテストまたはドキュメントの更新に記録できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android, flutter
領域
mobile-dev
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。