mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-22 11:03:21 -04:00
Merge pull request #1186 from kiwix/remove-liveactivity-framework
Remove liveactivity framework
This commit is contained in:
commit
252222166a
@ -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
|
|
@ -4,10 +4,6 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>APP_STORE_ID</key>
|
<key>APP_STORE_ID</key>
|
||||||
<string>id997079563</string>
|
<string>id997079563</string>
|
||||||
<key>BGTaskSchedulerPermittedIdentifiers</key>
|
|
||||||
<array>
|
|
||||||
<string>org.kiwix.downloads_to_liveactivity</string>
|
|
||||||
</array>
|
|
||||||
<key>CFBundleDocumentTypes</key>
|
<key>CFBundleDocumentTypes</key>
|
||||||
<array>
|
<array>
|
||||||
<dict>
|
<dict>
|
||||||
|
@ -73,9 +73,6 @@ targetTemplates:
|
|||||||
- sdk: QuickLook.framework
|
- sdk: QuickLook.framework
|
||||||
- sdk: PassKit.framework
|
- sdk: PassKit.framework
|
||||||
- sdk: SystemConfiguration.framework
|
- sdk: SystemConfiguration.framework
|
||||||
- sdk: ActivityKit.framework
|
|
||||||
destinationFilters:
|
|
||||||
- iOS
|
|
||||||
- package: Defaults
|
- package: Defaults
|
||||||
- package: StripeApplePay
|
- package: StripeApplePay
|
||||||
sources:
|
sources:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user