Compare commits

...

2 Commits

Author SHA1 Message Date
$urasek-805
f92e2a0b1d
Merge 053db0bbdc into bbe3394e9e 2025-03-13 22:21:12 +07:00
$urasek-805
053db0bbdc
Revert "fix(ios): downloads not working due to permission errors (#2180)"
This reverts commit 2ea8070771.
2025-03-07 22:05:52 +07:00
2 changed files with 2 additions and 13 deletions

View File

@ -1,17 +1,12 @@
import UIKit
import Flutter
@UIApplicationMain
@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
// Add this to get Documents directory path
if let documentsPath = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first?.path {
UserDefaults.standard.set(documentsPath, forKey: "download_path")
}
GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}

View File

@ -72,11 +72,5 @@
<array>
<string>_spotube._tcp</string>
</array>
<key>UIFileSharingEnabled</key>
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
<true/>
<key>UISupportsDocumentBrowser</key>
<true/>
</dict>
</plist>
</plist>