I almost give up. I tried many many things but my samsung s23 is killing important apps and I miss notifications. As soon as I unlock my phone, all of them showing up instantly. I’m missing messages and important notifications. I’m constantly checking phone because of it. BTW, it’s working sometimes I don’t know how and when it decides to kill my apps. I disabled any memory and battery related optimizations and mark my important apps as unrestricted and never sleep but it doesn’t work mostly

EDIT: it’s definitely duckduckgo app tracker. It somehow kills some apps. Disabled it and all of my issues are gone away