Assuming that Kodular is keeping up with MIT’s master, a somewhat recent pull request added the ability for extensions to declare service elements in the AndroidManifest. I actually built a similar extension to test that PR by just having a background clock going in an extension to drive UI updates even when the screen was off. This functionality is part of the upcoming nb184 release (You can check out master and use the extensions in ai2-test).
- E.W. Patton