From 36fd0a4b43e210f1fc08f275249d5bda6ad12f1a Mon Sep 17 00:00:00 2001 From: Balazs Perlaki-Horvath Date: Sun, 27 Apr 2025 10:45:39 +0200 Subject: [PATCH 1/2] Remove ActivityKit used for LiveActivities --- project.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/project.yml b/project.yml index 858c9dbb..b4f208a4 100644 --- a/project.yml +++ b/project.yml @@ -73,9 +73,6 @@ targetTemplates: - sdk: QuickLook.framework - sdk: PassKit.framework - sdk: SystemConfiguration.framework - - sdk: ActivityKit.framework - destinationFilters: - - iOS - package: Defaults - package: StripeApplePay sources: From 1dbd188232fca57455ebb7081c734a5560e45ae4 Mon Sep 17 00:00:00 2001 From: Balazs Perlaki-Horvath Date: Sun, 27 Apr 2025 10:47:48 +0200 Subject: [PATCH 2/2] Remove background scheduled download task used for LiveActivities --- Model/Downloads/BackgroundDownloads.swift | 28 ----------------------- Support/Info.plist | 4 ---- 2 files changed, 32 deletions(-) delete mode 100644 Model/Downloads/BackgroundDownloads.swift diff --git a/Model/Downloads/BackgroundDownloads.swift b/Model/Downloads/BackgroundDownloads.swift deleted file mode 100644 index a0c82e95..00000000 --- a/Model/Downloads/BackgroundDownloads.swift +++ /dev/null @@ -1,28 +0,0 @@ -// This file is part of Kiwix for iOS & macOS. -// -// Kiwix is free software; you can redistribute it and/or modify it -// under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 3 of the License, or -// any later version. -// -// Kiwix is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with Kiwix; If not, see https://www.gnu.org/licenses/. - -#if os(iOS) -import Foundation -import BackgroundTasks - -enum BackgroundDownloads { - static let identifier = "org.kiwix.downloads_to_liveactivity" - - static func nextDate() -> Date { - .now + 3 // after 3 seconds - } -} - -#endif diff --git a/Support/Info.plist b/Support/Info.plist index 39aabc00..c4261805 100644 --- a/Support/Info.plist +++ b/Support/Info.plist @@ -4,10 +4,6 @@ APP_STORE_ID id997079563 - BGTaskSchedulerPermittedIdentifiers - - org.kiwix.downloads_to_liveactivity - CFBundleDocumentTypes