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
Hi,
As you can see in the title on Android 8.x I have some problems. The functions above in the background only works when the device is plugged and my timer counters works fine. When the device is not charging it doesn't work expect when I unlock the screen. Any Idea / Solution / Setting ?
Thanks.
The text was updated successfully, but these errors were encountered:
There are two threads of JavaScript execution. WebView and WebCore. WebView is where settimeouts or setinervals are "queued", whereas webcore is where JS code relating to the plugins run. It is the WebCore thread which stays alive, while the WebView thread is "dozed". Therefore, you cannot assume setTimeouts or setIntervals or even XHR's will execute while in the background. Remember that these constructs are "deferred" to the browser(WebView), and that you must write logic to handle situations where you need to work in the background.
Hi,
As you can see in the title on Android 8.x I have some problems. The functions above in the background only works when the device is plugged and my timer counters works fine. When the device is not charging it doesn't work expect when I unlock the screen. Any Idea / Solution / Setting ?
Thanks.
The text was updated successfully, but these errors were encountered: