133 questions
0
votes
0
answers
41
views
How to detect a process termination on Android through NavigationDelegate.onWebResourceError in webview_flutter
We are using flutter and webview_flutter as a native wrapper around our webpage. We can see this error in our Play Console:
[FATAL:third_party/crashpad/crashpad/client/crashpad_client_linux.cc:744] ...
0
votes
0
answers
64
views
Flutter WebView: Error using JavaScript with HTML string instead of URL (webview_flutter)
I am creating an app in Flutter and I am facing the following problem with the WebView...
If I use a URL for a specific website that has JavaScript and uses localStorage for something, it works fine. ...
2
votes
1
answer
602
views
'Flutter/Flutter.h' file not found on iOS 18
When I ran the app on iOS 18 (Device - iPhone 13 Mini), It showed the following error.
Flutter/Flutter.h' file not found in file included from /Users/mdsabbirhossain/.pub-cache/hosted/pub.dev/...
0
votes
1
answer
50
views
Can we open native apps from flutter inapp-webview
I have created a flutter app which uses Azure ADB2C for login, this login screen in displayed as webview in flutter app.
Once successful login user has to authenticate using Microsoft authenticator ...
2
votes
1
answer
417
views
How to send a custom header in a POST request in Android using webview_flutter
This documentation states that it cannot be done, so I'm looking for an alternative solution:
Currently, setting custom headers when making a post request with the WebViewController's loadRequest ...
1
vote
1
answer
242
views
Error in Flutter when displaying a video (chewie) at the top of a column, and an expanded webview below, only in release mode
I want to create a Flutter app with the following layout:
A column with two children:
At the top, a video player (chewie) at the correct aspect ratio
Below, a webview covering the remaining space
I ...
1
vote
1
answer
106
views
Flutter webView: how to set domain for loadHtmlString?
<html>
<head>
<script src="https://www.google.com/recaptcha/api.js" async defer ></script>
</head>
<body>
<div class="g-...
6
votes
1
answer
2k
views
Error updating Flutter project: CocoaPods could not find compatible versions for pod "webview_flutter_wkwebview"
When attempting to update my Flutter project to a new Flutter version, I encountered the following error related to CocoaPods and the webview_flutter_wkwebview plugin:
[!] CocoaPods could not find ...
0
votes
0
answers
209
views
How to run javascript code when the app is on the background with webview_flutter?
I have a very important problem.I know that there are many posts about it, but I haven't found any solution.
I am coding an app that use the plugin webview_flutter to display a webpage with a list and ...
0
votes
1
answer
246
views
Loading url in flutter using webview_flutter does not load images
I am developing a flutter app and I want to load static urls e.g. "About Us" page from the website. I am able to load the page but I have noticed that images are not fetching. I also suspect,...
2
votes
1
answer
127
views
While rendering the webview in Flutter App, if there are any links to navigate it should navigate to respective link using webview_flutter 4.0.2
This is my code:
import 'dart:io';
import 'dart:ui';
import 'package:flutter/material.dart';
import 'package:flutter_html/flutter_html.dart';
import 'package:webview_flutter/webview_flutter.dart';
...
0
votes
1
answer
718
views
webview_flutter, new window pop up not working in IOS platform
when i click on a button in my webview it opens a new window pop up in web , it renders in Android devices but in IOS it gives me 'about:blank' in url and shows blank screen, i have tried different ...
1
vote
1
answer
1k
views
Catch window.open() or target _blank Webview_flutter
I'm currently using webview_flutter for webview appearance. But the problem is I can't find the way to get button tap on webview which is window.open(url) or target="_blank".
I want to ...
1
vote
0
answers
163
views
How to load a HTML String with relatives paths using the loadHtmlString method of the WebViewController
I am trying to use a WebViewWidget on flutter to display a HTML content saved in a String.
I want to use a String instead of a file because the content could by modify several times and in this way I ...
1
vote
2
answers
2k
views
How to display webpage title in the App Bar with webview_flutter
Trying to display the title of the webpage in the AppBar using the getTitle() method of webview_flutter.
It seems to work intermittently when the Hot reload is used on the debug bar but when I ...
0
votes
1
answer
361
views
Call a webview as child Container in multi screen App in Flutter
I have Multi screen app contains a bottom navigation bar, i need a page as webview as child container.
App is working fine but Webview is not loading by Container
I know we need to replace the ...
1
vote
0
answers
339
views
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....
3
votes
3
answers
2k
views
How to autofill login id and password in third party website in Flutter webview?
Currently, I am using flutter inappwebview plugin, I want to create an auto-login like google chrome asking if we want to save passwords, and then autofill next time. Is it possible?
0
votes
1
answer
500
views
running a custom JS function from Flutter using webview package
My Flutter app loads a webpage using the webview_flutter package. I have successfully passed info from the webpage to Flutter, using javascriptChannels. I have also successfully run built-in ...
0
votes
2
answers
1k
views
How can i migrate my code from flutter_webview_plugin to webview_flutter?
I'm trying to update an old flutter project. But i'm having some problems with the flutter_webview_plugin, so i want to migrate to webview_flutter. The problem i have is that i don't know how to adapt ...
3
votes
3
answers
3k
views
The class 'WebViewController' doesn't have an unnamed constructor
I have a problem with my flutter app using the package webview_flutter , here Is my code:
pubspec.yaml
webview_flutter: ^4.0.6
dart
WebViewController breachWebViewController = WebViewController()...
0
votes
1
answer
2k
views
webview_flutter_web is not working in flutter Web
I'm using webview_flutter_web library for loading the url in webview (for flutter web-build), when i'm trying to load to load https://www.youtube.com/, it's not loading showing error as refused to ...
1
vote
1
answer
1k
views
Flutter: how to select text in a WebView (WebViewWidget) and do something with it in a function?
I want the users of my app to be able to select text (words, but also whole sentences) in a WebViewWidget, and have an audio of that text played to them (via tts). I only want this to work with ...
-1
votes
3
answers
661
views
Reload a webview
I'm trying to reload a WebView page when I click a button on the Appbar, using the webview_flutter package. For that I'm using a WebviewController, but I'm not getting it... When I click on the button,...
1
vote
0
answers
184
views
Is there a way I can make my webview scrolling smoother?
PageView(
scrollDirection: Axis.horizontal,
children: [
StatefulPageview( //Displays vertical pageview
articles: state.articles,
...