mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
fix: background process needs to be declared
This commit is contained in:
3
app.json
3
app.json
@@ -19,6 +19,9 @@
|
||||
"NSAppTransportSecurity": {
|
||||
"NSAllowsArbitraryLoads": true
|
||||
},
|
||||
"BGTaskSchedulerPermittedIdentifiers": [
|
||||
"com.example.hlsdownload"
|
||||
],
|
||||
"UISupportsTrueScreenSizeOnMac": true,
|
||||
"UIFileSharingEnabled": true,
|
||||
"LSSupportsOpeningDocumentsInPlace": true
|
||||
|
||||
@@ -63,7 +63,7 @@ public class HlsDownloaderModule: Module {
|
||||
}
|
||||
|
||||
let configuration = URLSessionConfiguration.background(
|
||||
withIdentifier: "com.example.hlsdownload.\(providedId)")
|
||||
withIdentifier: "com.streamyfin.hlsdownload")
|
||||
configuration.allowsCellularAccess = true
|
||||
configuration.sessionSendsLaunchEvents = true
|
||||
configuration.isDiscretionary = false
|
||||
|
||||
Reference in New Issue
Block a user