Questions tagged [webview-flutter]

WebView for Flutter (Developers Preview)

122 questions
2
votes
1 answer

Flutter: webview_flutter just displays blank (white) on iOS

I got it to work on Android, the WebViewWidget displays correctly with the html content, no problem. For iOS it just displays blank/white. I tried what I have seen suggested by people all over the internet, which is to add a few lines to Info.plist,…
Cedric
  • 470
  • 6
  • 20
2
votes
0 answers

Is there any option available to make setDomStorageEnabled to true in webview_flutter plugin?

I am trying to add webview inside my flutter application and for that i need to allow dom storage to access data stored. Currently i guess web_view flutter plugin not allows any way to setDomainStorageEnabled to true. But is there someone have any…
2
votes
1 answer

How to Create a Progress Indicator for WebView in Flutter

import 'package:flutter/material.dart'; import 'package:webview_flutter/webview_flutter.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( …
user19196093
2
votes
0 answers

Intercepting fetch request on Flutter webview_flutter package

How can i intercept (listening) fetch request on webview_flutter package? Is it posible? Nowadays, i was inspected flutter_inappwebview plugin. But this plugin is deprecated. Last commit on GitHub is 12 months ago. Therefore i want intercept fetch…
Kaan Kuscu
  • 41
  • 5
2
votes
0 answers

Flutter: How can I hide cookies in webview_flutter (appTrackingTransparency)?

Does anyone have experience with webview_flutter & appTrackingTransparency? The APP was rejected by Apple. The reason is that cookies appear in the webview. When cookies appears, then appTrackingTransparency then message should open. If…
2
votes
1 answer

how to detect when inner html changes in flutter webview

I'm using webview_flutter to view a page from the URL on my Flutter application, what I need to do is to detect when changes happen in the HTML code without changing the URL. as there is some data changing overtime using JS and I need to check for…
Ahmed Wagdi
  • 3,913
  • 10
  • 50
  • 116
2
votes
0 answers

How to add parameters to the redirect url in Flutter webview?

I created this WebviewScaffoldScreen widget to load urls in my app. Whenever url is redirected, I would need to add certain ids and tokens to the redirected url so the server would accept this request and return the webpage that I need. Redirected…
imgingerbear
  • 163
  • 1
  • 2
  • 8
2
votes
0 answers

How to set Dom Storage Enabled is TRUE with webview_flutter

I has problem with DomStorageEnabled [webview_flutter], i can't set command: settings.setDomStorageEnabled(true); I has been implement website React JS and use cookies, Local Storage, How to enable in webview_flutter? Thanks you.
Anh Trung
  • 21
  • 1
2
votes
1 answer

WebView loads with white background in dark mode - flutter

I am developing a flutter application that contains a WebView as well as the app supports dark mode. However, the issue is while loading webview content in dark mode the background color is white and as soon the webview loaded it turns to dark mode.…
2
votes
1 answer

webview_flutter doesn't recognize taps on iOS

I have integrated the WebView widget from webview_flutter into my flutter application. The problem I am facing is that WebView works perfectly on Android, but on iOS WebView doesn't recognize button taps. Widget build(BuildContext context) { var…
2
votes
0 answers

Flutter cannot display local files using webview

I am trying to display local files using webview (if there is other option, it is welcomed, but I am trying to display not just pdf. I want to display pdf,xlsx,docx). I am suppliying url with file://..., first it gived me access denied error with…
2
votes
1 answer

Convert intent web url to Android Intent

I currently integrate a webview (webview_flutter: 2.0.4) in my application for a payment process. Unfortunately, at some point the following url is…
alexdess
  • 115
  • 1
  • 11
2
votes
2 answers

Pull to refresh WebView in flutter

I build a WebView app, and I want to pull down the screen to refresh the webpage. I use flutter_inappwebview for the webview. I try to wrap WebView inside SingleChildScrollView or ListView, but none of them work. In below code, WebView is not…
Kimhak
  • 101
  • 3
  • 8
1
vote
0 answers

Redirection to link in webview_flutter: ^4.2.1 is not working in android build

Redirection to a link in side webview of webview_flutter: ^4.2.1 is not working on android build but its working fine on Ipad and Iphone here Is the controller i have used controller.setJavaScriptMode(JavaScriptMode.unrestricted); …
1
vote
0 answers

How to store login credentials in localstorage of a webview using webviewcontroller.runJavaScript method in flutter

Iam implement webview_flutter package in my flutter app.Iam not able store login credentials to local storage of a webviewwidget using webviewcontroller.runJavaScript method. iam try two type of runJavaSript function one is in comment that is…
asaiTech
  • 11
  • 1
1
2
3
8 9