I don’t know how relevant the above thread still is. I heard that it cannot run on OS above Oreo. I am using Oreo. NEWBIE ALERT: How do I implement the above request into kodular?
And what should I type in with activitystarter.action?
“set activitystarter.action to android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS”
"set activitystarter.action to
(Like the link to the document given in the post)
And for the package name:
Thunkable’s format is " com.thunkable.android.yourName.appName" according to poster.
But kodular is “io.kodular.yourName.appName”?
And if the above is no longer relevant to solve the run in background issue. Can someone point me to a way to have my timer resume (After app stops running in background) with the CORRECT duration by using the system clock as a reference? I just can’t get it to work. And how do I get my timer to run at the same rate as the system clock? It seems to lag by 1 second, every 2 to 3 seconds of system clock.