I am not sure on documentation, but I believe both iOS and Android pause JavaScript execution after a certain period in the background. Which would lead me to believe it kills other things too. I wouldn’t rely on either OS to keep things running in the background unless you are using a proper background task.