fluttercommunity / fluttercommunity/flutter_webview_plugin

Unable to open a new window inside web_view

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

説明

I am currently implementing a payment gateway(paypal) for an app using the web view plugin. problem we are currently facing is that when the web_view first loads with the initial url passed, it displays little info and a button. when this button is clicked it should open a new window. why i try to do this with the flutter app we get this
`W/Web Console( 671): ppxo_button_pre_template_click at https://www.newWindowLink.com/api/checkout.js:260`

for the native app we are able to open a new window when the button is clicked and everything works as expected..
and we were able to achieve this using
`webView.getSettings().setJavaScriptCanOpenWindowsAutomatically(true);`

i was able to go through the plugin code and found the above setting was not included.

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

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

評価

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

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

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