252 questions
1
vote
0
answers
55
views
How to modify response body from flutter webview request?
I have a xhr request I can intercept with any existing flutter webview package, however what I need to do is modify the response it returns, that is, after the interception, so I was wondering if ...
1
vote
1
answer
1k
views
Flutter WebView Crashes on IOS Real Device but Works on IOS Emulator and Android
`I am developing a Flutter application that includes a payment flow using webview_flutter. The WebView is used to load an external payment page where users can complete their transactions.
The ...
0
votes
0
answers
61
views
Flutter App Crashes When Navigating Back with Browser Back Button on Web
I am developing a Flutter web application and encountering an issue where the web browser back button disabling unexpectedly when using the browser's back button to navigate back through the ...
1
vote
1
answer
280
views
Why does the Flutter WebView package require you to use ".postMessage()"?
I have the Flutter WebView package in my pubspec.yaml. The webview has a JavaScript channels feature. You can a define a Dart function with a name like Foo for example. But for that function to handle ...
0
votes
1
answer
53
views
Widgets with Webview are overflowing
When I create a structure with webview and SingleChildScrollView on a simple page, when I scroll the html gets mixed up with other widgets.
Expected results
Webview widget scrolls within itself ...
1
vote
0
answers
148
views
Flutter WebView: How to Keep Microphone and Camera Active When App is in Background?
I'm developing a Flutter app that utilizes a WebView to access webpages needing microphone and camera functionality. Everything works fine when the app is in the foreground, but the microphone and ...
-1
votes
1
answer
166
views
why does safari asks for permission for using microphone on every page load?
I am working with a react web view with Flutter for Mac and it uses the user's microphone.
The react app opens in Safari.
But it requests for microphone permission on every page load!
Is there any way ...
0
votes
1
answer
224
views
how to expose functions from flutter through web view to the websites being opened through flutter web view, so they can be called from javascript
I need to expose some functionality that can be called from web app that is called in flutter_webview package so this website can access device native resources through app. but not directly accessing ...
0
votes
1
answer
86
views
Does using older google mobile ads package affect earnings in flutter
I rebuild my app in flutter and I couldn’t use the latest google_mobile_ads package since it is incompatible with webview_flutter: ^2.0.13 package. And so as suggested by Android Studio, I had to ...
2
votes
0
answers
791
views
Flutter webview showing blank screen onResume()
In my flutter application which is a webview there is a button to share details from app to whatsapp and whenever the share icon is clicked the whatsapp screen opens but when user clicks the back ...
1
vote
0
answers
127
views
If the keyboard is appear, the resize bottom inset is not working when i am using with webview_flutter in flutter. How can i fix this bug?
Here is the simple code that are using for the webview. The used package is webview_flutter: ^4.4.4.
class ScreenWebview extends StatelessWidget {
const ScreenWebview({super.key});
@override
...
1
vote
2
answers
1k
views
how to view html files on the android and web platform in flutter?
I'm creating a flutter project that can run on android & web platform.
I'm having problem with viewing html on web platform.
I used a plugin webview_flutter to view html on android platform but ...
1
vote
1
answer
155
views
Rendering multiple Youtube Video on flutter web
I have started to build website but using flutter. I am able to achive to render single single yt video on the page. But when I try to do so for multiple video its not getting showed. Upon ...
0
votes
1
answer
194
views
adding multiple headers in loadRequest?
I want to add multiple headers in my controller.LoadRequest in flutter
_controller.loadRequest(
Uri.dataFromString(fileHtmlContents,mimeType: 'text/html', encoding: Encoding.getByName('utf-8')),
...
0
votes
2
answers
51
views
Flutter setState() or markNeedsBuild() Error with async Navigations
I am struggling with this error message: (setState() or markNeedsBuild() called during build
I am trying to continue with a Navigator.pushNamed(..) after a first async Navigation had happened.
In my ...
1
vote
1
answer
2k
views
flutter webview unable to go back when url is redirect
I am building a flutter application. Use of this application is show the web pages in webview. In this application have one button. While clicking the button it needs to open webview and load the url.
...
2
votes
0
answers
252
views
Flutter webview MacOS package
Hello I want to use webview for macOS. Is there any package for macos because webview_flutter or inappwebview is not working for macos
0
votes
1
answer
740
views
webview_flutter - Can't copy text via Javascript navigator.clipboard.writeText
Run this code sample on Android
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends ...
0
votes
1
answer
415
views
Flutter Mobile Webview Iframe with keyboard falsely reloads screen
When i load an iframe using the webview_flutter package, and click on an input field the screen refreshes and the keyboard never appears. The Iframe itself functions normally as expected, except when ...
-2
votes
1
answer
214
views
Unable to read Riverpod provider in web app . throgh Error: Expected a value of type 'String', but got one of type 'Null'
I have an app that i want to build for web but when i try to run login function the auth provider throgh a error
"Error: Expected a value of type 'String', but got one of type 'Null'
this happen ...
0
votes
1
answer
1k
views
How can i pull to refresh in flutter
webview_flutter: ^3.0.2 package using but no matter which pull to refresh package I add to the code, I could not run it, if you could help me, I would be very grateful. Thank you in advance.
Future&...
1
vote
1
answer
305
views
WebView Gets reload after clicking on TextFormField
i am currently working on a flutter app that is working on SDK 2.10.4. I have implemented a webView which includes some form Fields in a web page. When i click on a TextFormField, my WebView gets ...
0
votes
3
answers
5k
views
Flutter webview How to login to the website when app opens?
I have a Flutter app that needs to show a web-view of a website (https://englishin7boxes.com).
First the user can login using a username and a password. When successfully logged in the API returns an ...
-1
votes
1
answer
375
views
ars_progress_dialog and ars dialog are DISCONTINUED flutter packages. Name the alternatives
I want to use ars_progress_dialog but it is discontinued
Customizable progress dialog for Flutter applications with smooth animation for background dim color and blur.
The next option is ars_dialog 1....
1
vote
1
answer
817
views
Flutter app freezes at splash screen (java.lang.RuntimeException: Unable to start activity ComponentInfo)
I am currently releasing my APKs to the stores and I've encountered a problem where my app wouldn't go further than the splash screen. I initially thought that problems is in how overloaded main() ...