How do you stop app refreshes or restarts when the screen goes off?

That leaves you with two options:

  • use a Foreground extension

https://ullisroboterseite.de/android-AI2-KeepAwake-en.html

  • use a Background extension to keep the app running . Perhaps

that might work.

That might just be an issue of how you coded your app. You did not share your Blocks so one can only guess why the app 'restarts' ... what does that mean?

1 Like