0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-03-11 02:23:09 -05:00

fix(mobile): do not pause audio on app start (#16596)

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
shenlong 2025-03-05 03:30:01 +05:30 committed by GitHub
parent 61c8237a4d
commit 3b0af1c8a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 10 deletions

View file

@ -18,13 +18,6 @@ import UIKit
UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
}
do {
try AVAudioSession.sharedInstance().setCategory(.playback, mode: .default)
try AVAudioSession.sharedInstance().setActive(true)
} catch {
print("Failed to set audio session category. Error: \(error)")
}
GeneratedPluginRegistrant.register(with: self)
BackgroundServicePlugin.registerBackgroundProcessing()

View file

@ -1012,8 +1012,8 @@ packages:
dependency: "direct main"
description:
path: "."
ref: "4530808"
resolved-ref: "4530808a6d04c9992de184c423c9e87fbf6a53eb"
ref: "5459d54"
resolved-ref: "5459d54cdc1cf4d99e2193b310052f1ebb5dcf43"
url: "https://github.com/immich-app/native_video_player"
source: git
version: "1.3.1"

View file

@ -65,7 +65,7 @@ dependencies:
native_video_player:
git:
url: https://github.com/immich-app/native_video_player
ref: '4530808'
ref: '5459d54'
#image editing packages
crop_image: ^1.0.13