fix(mobile): use shared auth for background_downloader (#26911)

shared client for background_downloader on ios
This commit is contained in:
Mert
2026-03-13 22:23:07 -05:00
committed by GitHub
parent ff936f901d
commit b66c97b785
3 changed files with 73 additions and 6 deletions
+1
View File
@@ -20,6 +20,7 @@ import UIKit
}
SwiftNativeVideoPlayerPlugin.cookieStorage = URLSessionManager.cookieStorage
URLSessionManager.patchBackgroundDownloader()
GeneratedPluginRegistrant.register(with: self)
let controller: FlutterViewController = window?.rootViewController as! FlutterViewController
AppDelegate.registerPlugins(with: controller.engine, controller: controller)