iOS 15 restarts my app with every launch

Hi, I am experience unwanted behavior from my app on iOS 15... every time when I close it and open it again, restarts the app. It won't stay in the background. I am not sure how to identify this problem... it refuses to multitask.

This no happening on iOS 14 and works just fine.

Any advise will be greatly appreciated!!!

Is this also happening if you put your app in the background while your device is connected to the debugger (Xcode)? Is this also happening if you but the app in the background and immediately switch back to it, or only after some time? Maybe a background task completion block isn't called correctly?

if I open an app, close it and click on it's icon... there is no problem. But if I open my app and switch to some other app or simply don't click on it's app icon again... it just restarts. I can't find any error codes or anything related to it... app analyzer doesn't show any errors ether and it works perfectly fine on iOS 14

iOS 15 restarts my app with every launch
 
 
Q