mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-24 04:03:03 -04:00
Merge pull request #1130 from kiwix/remove-liveactivity
Remove live activities from release 3.8.0
This commit is contained in:
commit
c648df6deb
@ -25,17 +25,17 @@ struct Kiwix: App {
|
|||||||
@UIApplicationDelegateAdaptor(AppDelegate.self) private var appDelegate
|
@UIApplicationDelegateAdaptor(AppDelegate.self) private var appDelegate
|
||||||
|
|
||||||
private let fileMonitor: DirectoryMonitor
|
private let fileMonitor: DirectoryMonitor
|
||||||
private let activityService: ActivityService?
|
// private let activityService: ActivityService?
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
fileMonitor = DirectoryMonitor(url: URL.documentDirectory) { LibraryOperations.scanDirectory($0) }
|
fileMonitor = DirectoryMonitor(url: URL.documentDirectory) { LibraryOperations.scanDirectory($0) }
|
||||||
// MARK: - live activities
|
// MARK: - live activities
|
||||||
switch AppType.current {
|
// switch AppType.current {
|
||||||
case .kiwix:
|
// case .kiwix:
|
||||||
activityService = ActivityService()
|
// activityService = ActivityService()
|
||||||
case .custom:
|
// case .custom:
|
||||||
activityService = nil
|
// activityService = nil
|
||||||
}
|
// }
|
||||||
UNUserNotificationCenter.current().delegate = appDelegate
|
UNUserNotificationCenter.current().delegate = appDelegate
|
||||||
// MARK: - migrations
|
// MARK: - migrations
|
||||||
if !ProcessInfo.processInfo.arguments.contains("testing") {
|
if !ProcessInfo.processInfo.arguments.contains("testing") {
|
||||||
@ -85,7 +85,7 @@ struct Kiwix: App {
|
|||||||
LibraryOperations.scanDirectory(URL.documentDirectory)
|
LibraryOperations.scanDirectory(URL.documentDirectory)
|
||||||
LibraryOperations.applyFileBackupSetting()
|
LibraryOperations.applyFileBackupSetting()
|
||||||
DownloadService.shared.restartHeartbeatIfNeeded()
|
DownloadService.shared.restartHeartbeatIfNeeded()
|
||||||
activityService?.start()
|
// activityService?.start()
|
||||||
case let .custom(zimFileURL):
|
case let .custom(zimFileURL):
|
||||||
await LibraryOperations.open(url: zimFileURL)
|
await LibraryOperations.open(url: zimFileURL)
|
||||||
ZimMigration.forCustomApps()
|
ZimMigration.forCustomApps()
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
# 3.9.0
|
# 3.9.0
|
||||||
|
|
||||||
# 3.8.0
|
# 3.8.0
|
||||||
- NEW:
|
|
||||||
- Live activities for downloads (@BPerlakiH #1096, #1105, #1106, #1114, #1126)
|
|
||||||
- UPDATE:
|
- UPDATE:
|
||||||
- Localisations (@translatewiki #1095, #1102, #1108)
|
- Localisations (@translatewiki #1095, #1102, #1108)
|
||||||
- Keyboard navigation improvements for macOS (@BPerlakiH #1084)
|
- Keyboard navigation improvements for macOS (@BPerlakiH #1084)
|
||||||
|
34
project.yml
34
project.yml
@ -121,10 +121,10 @@ targets:
|
|||||||
- path: Kiwix/SplashScreenKiwix.storyboard
|
- path: Kiwix/SplashScreenKiwix.storyboard
|
||||||
destinationFilters:
|
destinationFilters:
|
||||||
- iOS
|
- iOS
|
||||||
dependencies:
|
# dependencies:
|
||||||
- target: Widgets
|
# - target: Widgets
|
||||||
destinationFilters:
|
# destinationFilters:
|
||||||
- iOS
|
# - iOS
|
||||||
UnitTests:
|
UnitTests:
|
||||||
type: bundle.unit-test
|
type: bundle.unit-test
|
||||||
supportedDestinations: [iOS, macOS]
|
supportedDestinations: [iOS, macOS]
|
||||||
@ -143,19 +143,19 @@ targets:
|
|||||||
- path: Tests
|
- path: Tests
|
||||||
dependencies:
|
dependencies:
|
||||||
- target: Kiwix
|
- target: Kiwix
|
||||||
Widgets:
|
# Widgets:
|
||||||
type: app-extension
|
# type: app-extension
|
||||||
supportedDestinations: [iOS]
|
# supportedDestinations: [iOS]
|
||||||
settings:
|
# settings:
|
||||||
base:
|
# base:
|
||||||
PRODUCT_BUNDLE_IDENTIFIER: self.Kiwix.ioswidgets
|
# PRODUCT_BUNDLE_IDENTIFIER: self.Kiwix.ioswidgets
|
||||||
INFOPLIST_FILE: Widgets/Info.plist
|
# INFOPLIST_FILE: Widgets/Info.plist
|
||||||
sources:
|
# sources:
|
||||||
- path: Common
|
# - path: Common
|
||||||
- path: Widgets
|
# - path: Widgets
|
||||||
dependencies:
|
# dependencies:
|
||||||
- framework: SwiftUI.framework
|
# - framework: SwiftUI.framework
|
||||||
- framework: WidgetKit.framework
|
# - framework: WidgetKit.framework
|
||||||
|
|
||||||
schemes:
|
schemes:
|
||||||
Kiwix:
|
Kiwix:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user