Skip to content

Commit 659d8ee

Browse files
committed
Remove live activities from release 3.8.0
1 parent 5d3317f commit 659d8ee

File tree

3 files changed

+25
-27
lines changed

3 files changed

+25
-27
lines changed

App/App_iOS.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ struct Kiwix: App {
2525
@UIApplicationDelegateAdaptor(AppDelegate.self) private var appDelegate
2626

2727
private let fileMonitor: DirectoryMonitor
28-
private let activityService: ActivityService?
28+
// private let activityService: ActivityService?
2929

3030
init() {
3131
fileMonitor = DirectoryMonitor(url: URL.documentDirectory) { LibraryOperations.scanDirectory($0) }
3232
// MARK: - live activities
33-
switch AppType.current {
34-
case .kiwix:
35-
activityService = ActivityService()
36-
case .custom:
37-
activityService = nil
38-
}
33+
// switch AppType.current {
34+
// case .kiwix:
35+
// activityService = ActivityService()
36+
// case .custom:
37+
// activityService = nil
38+
// }
3939
UNUserNotificationCenter.current().delegate = appDelegate
4040
// MARK: - migrations
4141
if !ProcessInfo.processInfo.arguments.contains("testing") {
@@ -85,7 +85,7 @@ struct Kiwix: App {
8585
LibraryOperations.scanDirectory(URL.documentDirectory)
8686
LibraryOperations.applyFileBackupSetting()
8787
DownloadService.shared.restartHeartbeatIfNeeded()
88-
activityService?.start()
88+
// activityService?.start()
8989
case let .custom(zimFileURL):
9090
await LibraryOperations.open(url: zimFileURL)
9191
ZimMigration.forCustomApps()

CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# 3.9.0
22

33
# 3.8.0
4-
- NEW:
5-
- Live activities for downloads (@BPerlakiH #1096, #1105, #1106, #1114, #1126)
64
- UPDATE:
75
- Localisations (@translatewiki #1095, #1102, #1108)
86
- Keyboard navigation improvements for macOS (@BPerlakiH #1084)

project.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ targets:
121121
- path: Kiwix/SplashScreenKiwix.storyboard
122122
destinationFilters:
123123
- iOS
124-
dependencies:
125-
- target: Widgets
126-
destinationFilters:
127-
- iOS
124+
# dependencies:
125+
# - target: Widgets
126+
# destinationFilters:
127+
# - iOS
128128
UnitTests:
129129
type: bundle.unit-test
130130
supportedDestinations: [iOS, macOS]
@@ -143,19 +143,19 @@ targets:
143143
- path: Tests
144144
dependencies:
145145
- target: Kiwix
146-
Widgets:
147-
type: app-extension
148-
supportedDestinations: [iOS]
149-
settings:
150-
base:
151-
PRODUCT_BUNDLE_IDENTIFIER: self.Kiwix.ioswidgets
152-
INFOPLIST_FILE: Widgets/Info.plist
153-
sources:
154-
- path: Common
155-
- path: Widgets
156-
dependencies:
157-
- framework: SwiftUI.framework
158-
- framework: WidgetKit.framework
146+
# Widgets:
147+
# type: app-extension
148+
# supportedDestinations: [iOS]
149+
# settings:
150+
# base:
151+
# PRODUCT_BUNDLE_IDENTIFIER: self.Kiwix.ioswidgets
152+
# INFOPLIST_FILE: Widgets/Info.plist
153+
# sources:
154+
# - path: Common
155+
# - path: Widgets
156+
# dependencies:
157+
# - framework: SwiftUI.framework
158+
# - framework: WidgetKit.framework
159159

160160
schemes:
161161
Kiwix:

0 commit comments

Comments
 (0)