You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.
Description: It seems like iOS creates socket failures and throttles app performance in a non-deterministic way. This causes semi-random failed rounds to occur from time to time, particularly when the device wants to enter sleep mode (e.g. locked). The behavior is more prevalent when "low battery mode" is enabled. It might also be more prevalent when the app is below 20% battery.
As per the documentation,
"Do minimal work while running in the background. The execution time given to background apps is more constrained than the amount of time given to the foreground app. Apps that spend too much time executing in the background can be throttled back by the system or terminated"
"Be prepared to handle connection failures in your network-based sockets. The system may tear down socket connections while your app is suspended for any number of reasons."
Description: It seems like iOS creates socket failures and throttles app performance in a non-deterministic way. This causes semi-random failed rounds to occur from time to time, particularly when the device wants to enter sleep mode (e.g. locked). The behavior is more prevalent when "low battery mode" is enabled. It might also be more prevalent when the app is below 20% battery.
As per the documentation,
"Do minimal work while running in the background. The execution time given to background apps is more constrained than the amount of time given to the foreground app. Apps that spend too much time executing in the background can be throttled back by the system or terminated"
"Be prepared to handle connection failures in your network-based sockets. The system may tear down socket connections while your app is suspended for any number of reasons."
https://developer.apple.com/library/archive/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/BackgroundExecution/BackgroundExecution.html
Steps to reproduce:
Observing the events, it seems like the device: tries to enter sleep -> fails a round -> and is woken up again every so often (see attached).
The text was updated successfully, but these errors were encountered: