fluttercommunity / fluttercommunity/flutter_webview_plugin

How to set flutter_webview_plugin userAgent with old userAgent and custom string

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

説明

If I didn't set userAgent,the userAgent was "Mozilla/5.0 (Linux; Android 7.0; MI 5 Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36".
Now I set userAgent with the userAgent attribute as:
```
WebView(
...
userAgent: 'myApp'
)
```
the userAgent just myApp
**but lost the platform and other userAgent message** ,
I want set userAgent was
"Mozilla/5.0 (Linux; Android 7.0; MI 5 Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36 myApp"
what can I do?

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

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

評価

この issue はまだ評価されていません。

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

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