add downlaod delegate to fix download name resolution
This commit is contained in:
+8
@@ -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
|
||||
},
|
||||
),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user