I've created app in Blazor.NET MAUI on Android. I hadn't created a local database, so app keeps all data in memory.
My problem is app always restarts after longer time not using. It doesn't crush and doesn't turn off - app is still running, but after a some time context's starting from beginning.
What's a problem? I use app on Samsung.
My first idea was problem is in dependency injection, because everything was set on scooped - not singleton. But it hasn't helped.