From 659d8ee6aa042114749173d9153711c92a57178b Mon Sep 17 00:00:00 2001 From: Balazs Perlaki-Horvath Date: Sun, 2 Mar 2025 01:27:29 +0100 Subject: [PATCH] Remove live activities from release 3.8.0 --- App/App_iOS.swift | 16 ++++++++-------- CHANGELOG.md | 2 -- project.yml | 34 +++++++++++++++++----------------- 3 files changed, 25 insertions(+), 27 deletions(-) diff --git a/App/App_iOS.swift b/App/App_iOS.swift index 1a06d9bd..3436932f 100644 --- a/App/App_iOS.swift +++ b/App/App_iOS.swift @@ -25,17 +25,17 @@ struct Kiwix: App { @UIApplicationDelegateAdaptor(AppDelegate.self) private var appDelegate private let fileMonitor: DirectoryMonitor - private let activityService: ActivityService? +// private let activityService: ActivityService? init() { fileMonitor = DirectoryMonitor(url: URL.documentDirectory) { LibraryOperations.scanDirectory($0) } // MARK: - live activities - switch AppType.current { - case .kiwix: - activityService = ActivityService() - case .custom: - activityService = nil - } +// switch AppType.current { +// case .kiwix: +// activityService = ActivityService() +// case .custom: +// activityService = nil +// } UNUserNotificationCenter.current().delegate = appDelegate // MARK: - migrations if !ProcessInfo.processInfo.arguments.contains("testing") { @@ -85,7 +85,7 @@ struct Kiwix: App { LibraryOperations.scanDirectory(URL.documentDirectory) LibraryOperations.applyFileBackupSetting() DownloadService.shared.restartHeartbeatIfNeeded() - activityService?.start() +// activityService?.start() case let .custom(zimFileURL): await LibraryOperations.open(url: zimFileURL) ZimMigration.forCustomApps() diff --git a/CHANGELOG.md b/CHANGELOG.md index b3ad2bc9..68e1ed6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,6 @@ # 3.9.0 # 3.8.0 - - NEW: - - Live activities for downloads (@BPerlakiH #1096, #1105, #1106, #1114, #1126) - UPDATE: - Localisations (@translatewiki #1095, #1102, #1108) - Keyboard navigation improvements for macOS (@BPerlakiH #1084) diff --git a/project.yml b/project.yml index 2ce20703..d4c53e26 100644 --- a/project.yml +++ b/project.yml @@ -121,10 +121,10 @@ targets: - path: Kiwix/SplashScreenKiwix.storyboard destinationFilters: - iOS - dependencies: - - target: Widgets - destinationFilters: - - iOS + # dependencies: + # - target: Widgets + # destinationFilters: + # - iOS UnitTests: type: bundle.unit-test supportedDestinations: [iOS, macOS] @@ -143,19 +143,19 @@ targets: - path: Tests dependencies: - target: Kiwix - Widgets: - type: app-extension - supportedDestinations: [iOS] - settings: - base: - PRODUCT_BUNDLE_IDENTIFIER: self.Kiwix.ioswidgets - INFOPLIST_FILE: Widgets/Info.plist - sources: - - path: Common - - path: Widgets - dependencies: - - framework: SwiftUI.framework - - framework: WidgetKit.framework + # Widgets: + # type: app-extension + # supportedDestinations: [iOS] + # settings: + # base: + # PRODUCT_BUNDLE_IDENTIFIER: self.Kiwix.ioswidgets + # INFOPLIST_FILE: Widgets/Info.plist + # sources: + # - path: Common + # - path: Widgets + # dependencies: + # - framework: SwiftUI.framework + # - framework: WidgetKit.framework schemes: Kiwix: