Tizen 3.0 web app – Timer paused when app in background
Tizen 3.0 web app – Timer paused when app in background
BY 29 Aug 2018Web Application Development
I have a Tizen 3.0 hybrid app (web app + native service), in which the web app runs several timers, one of which is a real-time time counter (ie. should increment by 1 each minute).
This web app has the following attributes set (in config.xml):
I’ve noticed that when the app is in the background for a few minutes, its timers seem to be paused (the counter was not properly incremented each minute).
Is there any way to ensure that the web app’s timers remain running (and the callback is executed when expected), even when the app is in the background?
Note that my app cannot request CPU_AWAKE lock (due to battery drain concerns when running on Tizen 3.0.0.1/3.0.0.2).
Tizen 3.0 web app – Timer paused when app in background
I have a Tizen 3.0 hybrid app (web app + native service), in which the web app runs several timers, one of which is a real-time time counter (ie. should increment by 1 each minute).
This web app has the following attributes set (in config.xml):
– Background support = enable
– Background category = background-network, iot-communication
I’ve noticed that when the app is in the background for a few minutes, its timers seem to be paused (the counter was not properly incremented each minute).
Is there any way to ensure that the web app’s timers remain running (and the callback is executed when expected), even when the app is in the background?
Note that my app cannot request CPU_AWAKE lock (due to battery drain concerns when running on Tizen 3.0.0.1/3.0.0.2).
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio