Questions tagged [flutter-inappwebview]

195 questions
11
votes
1 answer

Flutter detect PointerEvents over Widget

I have a sample code which detects a hovering stylus over a widget. The code is from this Stackoverflow Quesion. In short. It binds using GestureBinding.instance?.pointerRouter.addGlobalRoute and checks in the handler if the event is of type…
dknaack
  • 60,192
  • 27
  • 155
  • 202
7
votes
3 answers

Download Files in Flutter InAppWebview

I am Using the flutter_webview_plugin Package for displaying Web Page. On the Webpage, we had a feature to download files. the logic for the Downloading File is Similar to the below code filename = "my-file.txt" content = 'any string generated by…
Varun
  • 1,658
  • 1
  • 7
  • 11
7
votes
0 answers

Remove url bar from chromeSafariBrowser in flutter_inappwebview

I am using ChromeSafariBrowser class of flutter_inappwebview to show the webview which contains videos. I am using this class cause it supports pip and also shows media controls on video play which most of dependencies doesnt provide. Now I want to…
Trend74X
  • 162
  • 1
  • 10
6
votes
0 answers

flutter inappwebview encodeURL having wrong string in android while it is working fine in iOS?

I have used inappwebview in our app. I am getting different encodedUrl in shouldOverrideUrlLoading method for iOS and Android. While in iOS it is working fine but for android it is not giving proper url. encodedURL iOS :…
6
votes
3 answers
6
votes
0 answers

Flutter flutter_inappwebview how to get response params

How do i get the response params (for example the headers) from a POST call after the user navigates inside the InAppWebView? Is this even possible/supported by this library?
Cosmin Vacaru
  • 239
  • 2
  • 12
6
votes
1 answer

Flutter InAppWebView how to disable cross origin policy?

I'm using InAppWebView to make a video downloader app by listening to onLoadResource even and grab the video played by the user and ofc the video inside an iframe and because of cross origin policy i can't get the url inside iframe…
6
votes
6 answers

Flutter - Disable navigation InAppWebView

I'm new to Flutter, and I want to put a web view between other widgets and I'm using the InAppWebView flutter in order to do it, but I want to prevent the user to navigate to other pages when he clicks on a button inside the web view. Do I have to…
Mireille
  • 637
  • 2
  • 12
  • 27
5
votes
0 answers

How can I ask for user permissions when user tries to upload file in mobile application using flutter_inappwebview?

I am trying to create a flutter web application using flutter_inappwebviewplugin. In the application, I have added a a dropzone plugin for file uploading. This functionality is working fine on both browser and android app. But in android app, I am…
PARAS GUPTA
  • 302
  • 3
  • 13
4
votes
0 answers

FrameEvents(31583): updateAcquireFence: Did not find frame

when I switch to some pages in my application that I set up with InAppwebView, I get this error ( updateAcquireFence: Did not find frame ) the same project works without any problem on the device with android version 6, but on devices with android…
Yusuf Barulay
  • 81
  • 1
  • 7
4
votes
0 answers

How to send form data or multipart request in InAppWebView flutter?

I'm trying to integrate the AADHAR API in my flutter application. To work with the api I have used InAppWebView plugin in the application. For more details I have shared below my code: class AaadharWebView extends StatelessWidget { …
Sahil
  • 41
  • 2
4
votes
0 answers

Intercept Requests in Network - Flutter in app WebView

I am building a simple application using Flutter. (dart) I created a webView using https://pub.dev/packages/flutter_inappwebview and opened a random YouTube video in it. The thing is I want to read all the requests/calls that are called by YouTube's…
Rashid
  • 41
  • 3
4
votes
1 answer

Flutter inject css before the page loaded with InAppWebView plugin

I injected css into an InAppWebView component in Flutter, what hides content on a page but the content appears for a bit. I tried contentBlockers in options to block the css selector and injecting css in the events of onLoadStart, onLoadStop,…
László
  • 41
  • 2
3
votes
2 answers

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?
3
votes
2 answers

Is there a way to load, render, and persist webpages (or WebViews) in memory, like browsers do, in a Flutter app?

I’m trying to make a Flutter app that lets the user open up preloaded webpages from a list. The home screen should have a list of online articles with image previews (client-side screenshots) of them, and clicking on a list item should open the…
clickbait
  • 2,818
  • 1
  • 25
  • 61
1
2 3
12 13