I ended up rewriting parts of my app.
That improved many things but did not solve everything.
Most of the time the app works, but as my app is a long-running app it gets killed sometimes.
I found that if I run too many apps and do not close them on recent apps my app gets killed after a while.
You can always request help from Samsung Developers too.
If it is a dev question / API / etc, they’ll help you out.
Cheers!