Questions tagged [webview-flutter]
122 questions
0
votes
1 answer
xcode parse issue: Module webview_fltter_wkwebview not found
Use vscode to compile flutter app with webview on mac,run it in ios simulator,it's normal,
and I have added "io.flutter.embedded_views_previewYES" in ios's Info.plist,I am sure I have installed "webview_flutter" plugin,
but when I run it in…

Zi-Liang Wang
- 9
- 2
0
votes
1 answer
Flutter WebView Skipped 30 frames! The application may be doing too much work on its main thread
I am loading a web view in my flutter project. in there I am getting an error after loading the webpage.
i am using webview_flutter: ˆ2.0.13
is anyone have any solutions for this...??
this is the error,
I/Choreographer(1378): Skipped 30 frames! The…

Supun Dewapriya
- 695
- 11
- 13
0
votes
1 answer
webview_flutter can't hide/change some elements
Using the webview_flutter with evaluateJavascript(), I've been able to modify the style of most elements of my website, but can't understand why some elements don't get modified.
My WebView is included, and the website to display within the WebView…

Damien Devillian
- 81
- 1
- 6
0
votes
0 answers
Why does PWA caching not work on webview_flutter
I Have a PWA website but i wanted it on a mobile app so that i can add it the the play store but while using it on webview flutter the web pages are not being cached it shows "page cannot be reached" without an internet connection.
When i open it…

Steve Mimshak
- 103
- 2
- 11
0
votes
1 answer
Play mp3 files located in ApplicationSupportDirectory (NOT asset directory) linked from webview_flutter loaded html page
I have a large number of mp3 files (+3GB) that needs to be included with the app I am writing for Android and iOS to be used offline. Since the Google Play Bundle can not be larger than 2GB, naturally I will need to download these mp3 files at…

David Cheng
- 11
- 1
0
votes
1 answer
java.lang.IllegalArgumentException: Failed to find configured root that contains /data/data/**/cache/storage/CAPTURE-20210427_125521.jpg
I am developing a flutter app in which I'm using webview_flutter plugin. Now inside the webview I want upload a file from the device. The problem is when I try to select browse button to choose the files from my device (or use Camera directly), I…

Shubhank Tyagi
- 134
- 1
- 3
- 12
0
votes
0 answers
flutter webview javascript channels and Stripe connect completion via cloud functions
I have the following WebView Widget / I am trying to trigger the completion (or not) of a StripeConnect account creation, in order to close the View.
I can t find any doc about what should be the triggered channel.
child: WebView(
…

Yann Massard
- 283
- 2
- 16
0
votes
1 answer
How to run custom Javascript using webview_flutter package?
I have build an app using webview_flutter plugin, now I want to hide a div from my webview.
The issue is I'm not able to figure out how to run custom Javascript using this webview_flutter.
I have read articles on stackoverflow for…

Apoorv pandey
- 509
- 8
- 21
0
votes
2 answers
webview_flutter how to add header parameter when url changes
I use webview_flutter plugin in my flutter app. How can I add header parameter when url changes and how can I and how can I track url change? That's my code. I tried to do it using a loadurl in navigationDelegate, but it doesn't work. How can I do…

Tom
- 93
- 3
- 10
0
votes
1 answer
Flutter webview package inline media problem
webview_flutter 1.0.7 using your package.
https://github.com/flutter/plugins/pull/3334/commits/1d7e5ebab3c86bf5f2bf252ae14bca87be33c414
I made the changes on the page. Although I made all the changes, the ipad is working in full screen but the…

Gökhan Belli
- 31
- 4
0
votes
1 answer
Flutter Error : Package io.flutter.plugins.webviewflutter does not exists
I get an error message while running a Flutter project. I tried using webview_flutter(1.0.7) plugin with Flutter 1.22.5(stable) and Flutter 1.26.0-2.0.pre.167.
This is a fresh new project with only webview_flutter plugin dependency.
I am getting…

Ketul Rastogi
- 163
- 2
- 9
0
votes
1 answer
webview_flutter violates content security policy, any solutions?
Edit: I got to the bottom of the error for PayPal specifically. For some reason this error only occurs when a test card number is used (in sandbox mode), trying a real credit card number makes the error go away. I believe it is due to a new currency…

August Kimo
- 1,503
- 8
- 17
0
votes
1 answer
Flutter: PlatformViewsController must be set before attempting to begin the frame Flutter. webview_flutter
Android app is crashing with this exception "PlatformViewsController must be set before attempting to begin the frame Flutter" works fine in ios app. I am Using "webview_flutter: ^1.0.6"
Min SDK is greater than 19 here is my initState Method:
void…

Jahanzeb Sohail
- 81
- 4
0
votes
1 answer
webview_flutter How to evaluate Javascript at each page?
I am using a webview_flutter and want to evaluate Javascript at each navigation. So far, evaluateJavascript only works on the initial page. Any idea how to make it work for every page?
This is my set up:
Flutter 1.22.2 • channel stable •…

io_v
- 28
- 1
- 6
-1
votes
0 answers
Having issue whenever i run "flutter build" on my project
What went wrong:
A problem occurred configuring project ':webview_flutter_android'.
Could not load compiled classes for build file 'C:\Users\GMD NETWORKS\AppData\Local\Pub\Cache\hosted\pub.dev\webview_flutter_android-2.10.4\android\build.gradle'…