Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

RabieRabit's avatar

Laravel, Dropzone, and flutter webview

Hi, I might be in the wrong place for this... but laracasts has ALWAYS been more helpfull than stackoverflow. I have searched everywhere I could including the issues on github for a solution but I'm a bit stuck.

Im building a WebApp using laravel and flutter. In the flutter App i'm using The flutter_inappwebview package. when on PC and in browser it works as expected, on mobile and in browser it works again as expected but inside the app it does not. Everything is working as you would expect except for uploading large files using dropzone.js. Uploading files that don't require chunking works fine but the moment the file is larger and need to chunk the upload fails. I get this message in the debug console. I/flutter (31610): ConsoleMessage{message: Retried this chunk too often. Giving up., messageLevel: WARNING} and this is the settings for the inappwebview

InAppWebViewSettings settings = InAppWebViewSettings(
    isInspectable: true,
    mediaPlaybackRequiresUserGesture: false,
    allowsInlineMediaPlayback: true,
    iframeAllow: "camera; microphone",
    iframeAllowFullscreen: true,
    allowContentAccess: true,
    allowFileAccess: true,
    allowFileAccessFromFileURLs: true,
    allowUniversalAccessFromFileURLs: true,
    javaScriptCanOpenWindowsAutomatically: true,
    alwaysBounceVertical: true,
    allowsBackForwardNavigationGestures: true,
    limitsNavigationsToAppBoundDomains: true,
  );

in my AndriodManifest I have everything according to the flutter_inappwebview documentation.

Anyone have suggestions?

0 likes
0 replies

Please or to participate in this conversation.