By default JS timers won't work on background, so setInterval and setTimeout callbacks will only run after app goes back to foreground. A solution is to not use the timer functions or if you really need a timer make your own implementation or use something like this