diff --git a/packages/flutter_mozilla_components/android/src/main/kotlin/eu/weblibre/flutter_mozilla_components/components/Core.kt b/packages/flutter_mozilla_components/android/src/main/kotlin/eu/weblibre/flutter_mozilla_components/components/Core.kt index dbf7b2ca..c82417a2 100644 --- a/packages/flutter_mozilla_components/android/src/main/kotlin/eu/weblibre/flutter_mozilla_components/components/Core.kt +++ b/packages/flutter_mozilla_components/android/src/main/kotlin/eu/weblibre/flutter_mozilla_components/components/Core.kt @@ -127,6 +127,14 @@ class Core( cookieBannerHandlingGlobalRules = true, cookieBannerHandlingGlobalRulesSubFrames = true, webContentIsolationStrategy = WebContentIsolationStrategy.ISOLATE_HIGH_VALUE, + downloadDelegate = EngineDownloadDelegate( + context = context, + downloadLocation = { + Environment.getExternalStoragePublicDirectory( + Environment.DIRECTORY_DOWNLOADS, + ).path + }, + ), ) }