Questions tagged [webview-flutter]

WebView for Flutter (Developers Preview)

122 questions
1
vote
1 answer

Flutter [webview_flutter] How do javascriptChannels work with ports?

Working with the flutter plugin: webview_flutter All the examples for sending data from JS to webview_flutter have similar syntax: Webpage: Flutter: javascriptChannels: { …
Norsak
  • 39
  • 2
1
vote
2 answers

framework not found in webview_flutter when making build in IOS

I used the webview_flutter package to show some pages in webview in a flutter, In android, it's working fine but when I try to run in IOS I get an error as in the screenshot. Can anyone help, I really stuck here.
Niraj Savaliya
  • 179
  • 1
  • 14
1
vote
0 answers

TapGestureRecognizer onTap not triggering in webview_flutter

When I run the example below, the instance of WebView (from webview_flutter plugin) never calls onTap, no matter which URL I'm on. Because gestureRecognizers override the widget's gestures, I'd assume that onTap should be called whenever there is a…
Guilherme Matuella
  • 2,193
  • 1
  • 17
  • 32
1
vote
2 answers

Error: Not a constant expression(Flutter)

body: const Center( // Center is a layout widget. It takes a single child and positions it // in the middle of the parent. child: WebView( initialUrl: "https://xxxx", navigationDelegate: (navigation) { …
boybeak
  • 417
  • 5
  • 19
1
vote
2 answers

how to make webview_flutter use wideviewport?

when I load my Wix website using webview_flutter it doesn't take fullscreen, but it works using flutter_webview_plugin, and I figured that the problem is that webview_flutter doesn't set wide viewport natively…
chiko360
  • 33
  • 1
  • 8
1
vote
0 answers

Invalid depfile: kernel_snapshot.d

I have an issue while building my app it keep giving me this error Invalid depfile: C:\Users\kg3bo\AndroidStudioProjects\pomastore\.dart_tool\flutter_build\f3e5966fddb8025853f2e4961407d23d\kernel_snapshot.d I tried using flutter pub get, flutter pub…
3Bady
  • 183
  • 3
  • 15
1
vote
0 answers

Error net::ERR_CLEARTEXT_NOT_PERMITTED in webview_flutter, How to solve this?

I'm encountering this net::ERR_CLEARTEXT_NOT_PERMITTED in webview_flutter in android 10, Screenshot of Error in Android version 10, but this error is not coming in Android version 8 or below. I tried adding android:usesCleartextTraffic="true" I…
1
vote
3 answers

Unable to display html file from local storage in webview

I have a Flutter project in which I am: Downloading the zip file (full of html files) Extracting the html files to a new directory (ebooks/02) Saving the local file urls in a List Displaying the urls in Webview & iterate through List for back &…
user14892417
1
vote
1 answer

Payrexx integration in flutter webview

As described here https://developers.payrexx.com/docs/mobile-apps-javascript I would like to interact with the javascript events of an iframe I want to create in the webview_flutter plugin. The following example code is given in the official…
alexdess
  • 115
  • 1
  • 11
1
vote
1 answer

pass data from flutter to webview

I want to pass data from flutter to webview My data is defined like this, var data = { "id": "hweqetwyqte" }; I am passing data like below in webview, webViewController.evaluateJavascript(''' t._selectItem($data); // this is not working --> I…
Suraj Gupta
  • 437
  • 8
  • 19
1
vote
0 answers

How to ignore/disable system font size when load page inside webview_flutter?

I have an application that adds webview_flutter to show some certain page. When I change the system font size on an Android device, the page inside the WebView widget follows the android system font size. How can I ignore/disable the page inside the…
khaesha
  • 11
  • 3
1
vote
1 answer

How to open tel, mailto, whatsapp links in a flutter webview?

I am a web developer and beginner to flutter. I created a Flutter web view application by watching a few tutorials and its working fine for iOS and Android. But when I click on tel:'0123456789', mailto:'abc@gmail.com', WhatsApp link…
acmsohail
  • 903
  • 10
  • 32
1
vote
2 answers

how to preload a flutter webview widget

I'm using webview_flutter. Is there anyway I can preload a webview widget when the app starts, and reuse the same widget multiple times in the app? WebView webview = buildWebview(); Widget getWebview() { return webview; } Widget…
user987654
  • 5,461
  • 5
  • 23
  • 26
1
vote
1 answer

Flutter WebView plugin crashes the app when installed on iOS 14+

When I install my app on iOS devices with iOS 14+ the app crashes the moment the user goes to a page with webview inside. The error is Runner[654:91182] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason:…
kmignt
  • 67
  • 14
1
vote
1 answer

Log In user programmatically in Flutter WebView

I am using webview_flutter. I currently have a native login page in my app that takes in a user's name and password. I am trying to find a way to automatically fill in the username and password on the specific page in webview and submit the login…
karmelcorn
  • 512
  • 1
  • 5
  • 12
1 2 3
8 9