Questions tagged [flutterwebviewplugin]
245 questions
3
votes
4 answers
The method 'SurfaceAndroidWebView' isn't defined for the class '_WebViewExampleState'
I tried to run an example I got from https://pub.flutter-io.cn/packages/webview_flutter/example to use webview in flutter. But I have this kind of error:
lib/main.dart:43:48: Error: The method 'SurfaceAndroidWebView' isn't defined for the class…

alfianakbar
- 61
- 1
- 1
- 6
3
votes
1 answer
How to manipulate HTML in Flutter webview?
I am load website with Flutter webview. But I want replace HTML element when it load. For example:
Replace text
How to do?

FlutterFirebase
- 2,163
- 6
- 28
- 60
3
votes
0 answers
Flutter Webview Error acquiring assertion; Client is missing required entitlement;
For both flutter_webview_plugin.dart' and webview_flutter.dart'
I am getting the following error when I got to certain websites. No errors if I go to youtube or google. How can I find out what required entitlement it is missing?
[assertion] Error…

karmelcorn
- 512
- 1
- 5
- 12
3
votes
1 answer
Is there any way to open an external video player like MX player when a video is played in flutter webview?
I was building an android application using flutter which has a webview opening a website with videos in it. I was looking for a way to be able to open up such videos in an external player like MX player or VLC when the user tries to play them in…

Raunak Adak
- 31
- 2
3
votes
2 answers
Problem while running Flutter web project
I started a new Flutter web Project and following all steps of the installation correctly. When I started to Debugging it or running it. This is the log I am getting while running. It opens the chrome window also and nothing is rendering on the…

Rishabh
- 2,410
- 4
- 17
- 36
2
votes
0 answers
Flutter Webview 4.0.2's WebViewCookieManager.setCoookie does not work for IOS apps
I have been working with flutter_webview 3 and just recently upgraded to flutter_webview 4. It has a cookie authentication which used to work with the previous version of flutter webview.
I have migrated most of the things, but cookie authentication…

Glitch_Znab
- 496
- 4
- 13
2
votes
0 answers
How to catch redirect in WebView and redirect to native browser?
Now I'm opening the Privacy Policy page using a WebView. It has links and when you click in the same tab in the application, a browser page opens. I need a browser page to open when clicking on a link. And the user was informed that a redirect was…

userName
- 903
- 2
- 20
2
votes
1 answer
How to override flutter's webview default alert?
I'm using pub webview_flutter: ^3.0.1 to display webview
However, when the target website displays a pop-up alert it appears as attached:
here
How to override this to display a popup of my own?
I already tried
javascriptChannels: Set.from([
…

Mahmoud Tarek
- 33
- 4
2
votes
0 answers
flutter-Auto submitting an xml form in flutter.Auto Submit Form, get XML returned on next page, then Auto Submit the new form with XML data?
I am sending a post request to an api from which i am getting an xml form and url to whom i have to auto submit the xml form .I have tried two approaches :
1.using Inappwebview
```
InAppWebView(
initialUrlRequest: URLRequest(
url:…

Rishabh
- 119
- 1
- 5
2
votes
0 answers
Unable to access Webview element within an iframe in a mobile app using flutter
I am trying to access a login form(web view) in a mobile app using flutter to write my automation test case.
Tha native elements are accessible but when i try to access the elements on the webview within a frame, it doesnt allow me to access the…

user1873274
- 181
- 1
- 9
2
votes
1 answer
"Unrecognized feature: 'payment'.", source: https://js.stripe.com/v3/ (1)
I am trying integrate stripe checkout in my Flutter app. I can't use the flutter_stripe because I am trying to setup a subscription. The checkout session id is being generated just fine on the server end. However on the client end I am getting this…

Mudassir
- 725
- 6
- 28
2
votes
0 answers
Flutter InAppWebView : loadFile doesn't accept Query Parameters with URL
I am implementing InAppWebView in my Flutter Project. I am loading local files from assets which contains all Javascripts and CSS files.
Expected behavior: I want to pass query parameters with local file path. For example,…

Pratik Butani
- 60,504
- 58
- 273
- 437
2
votes
1 answer
Popup is not working in Flutter Web VIew package
I am using 'flutter_webview' package for payment the web view working fine. but on payment its open new popup, that popup is working in other external browser but not in mobile view.
please guide me to handle the popup in webview.
Expanded(
…

AbHi PoOjary
- 147
- 1
- 5
2
votes
1 answer
Flutter - Block Webview Cookies in WKWebView
Our flutter app uses webview to give users access to our online retail store. This retails store uses cookies.
This hasn’t been a problem until this week. As of last week, Apple started rejecting our updates because the webview section of the app…

thebenCA
- 149
- 13
2
votes
0 answers
Flutter webview - HTML/JS Copy to Clipboard not working
I have this following code, in Flutter for Android
https://gist.github.com/edwinyoyada/0b48c69b46409829a666d30818dbf562
Inside, you see that there is Copy to Clipboard functionality written in JS
But if I click it, the content is not copied.
Please…

Edwin Yoyada
- 21
- 1
- 4