rasmuslos / ShelfPlayer

Native Audiobookshelf player for iOS & iPadOS
Other
148 stars 15 forks source link

[Question] Enable background fetch and background processing? #37

Closed gh0sti closed 4 months ago

gh0sti commented 5 months ago

I was looking at xcode while compiling latest build and noticed that background fetch and processing were not toggled. Is that something that should be or would enhance Shelfplayer by having those features toggled? My assumption is then the app can fetch newer updates from the server for potential new books or changes that are made to the server while the app is running in the background. I think this would enable background app refresh?

xcode

https://stackoverflow.com/questions/44238987/what-is-the-different-between-background-task-and-background-fetch-correctly

rasmuslos commented 5 months ago

I have already looked into implementing notifications and automatic downloads using background fetch, but you are completely at the mercy of the system, so it would have questionable reliability. But I will probably experiment with this in the future