PojavLauncher_iOS
PojavLauncher_iOS copied to clipboard
[F-Req] Background persistence for iOS during download
Is this request related to a bug?
No response
Describe the request.
On iOS, when I switch away from the app even for less than a minute while Minecraft is downloading, the download fails:
Maybe you could use this: https://developer.apple.com/documentation/foundation/url_loading_system/downloading_files_in_the_background
Or if that doesn't work, use location peristence.
(It just took me 20 minutes to download Minecraft over mobile data and it was not fun.)
Anything else?
No response
iOS usually purges the memory allocated to a program after a while its not running in the foreground. When that happenes the program will enter a suspended state. Most apps (from the app store) are actually made to cope with this.
The problem with PojavLauncher in this case is the following: it requires JIT.
While I dont know how exactly iOS deals with this I would guess that JIT-compilation cannot be dont while the program is suspended. May be because of the extreme security messaures iOS takes sometimes on its software
If I had to deal with this issue I would do the following:
Go to display settings and turn automatic lock off. Then just put your phone somewhere and let it sit for 20 minutes. Its not optimal, especially not for your battery, but that should do
iOS usually purges the memory allocated to a program after a while its not running in the foreground. When that happenes the program will enter a suspended state. Most apps (from the app store) are actually made to cope with this.
The problem with PojavLauncher in this case is the following: it requires JIT.
While I dont know how exactly iOS deals with this I would guess that JIT-compilation cannot be dont while the program is suspended. May be because of the extreme security messaures iOS takes sometimes on its software
If I had to deal with this issue I would do the following:
Go to display settings and turn automatic lock off. Then just put your phone somewhere and let it sit for 20 minutes. Its not optimal, especially not for your battery, but that should do
Whether or not JIT is enabled or disabled is not an issue that jetsam deals with - apps that are using it will be killed just the same way as apps that are not.
That being said, we could probably work on using iOS activities for when downloads are taking place. I haven't personally looked into this option, but it's there.