I had the same problem on my Moto Edge 40, even after the recent update. What worked for me, based on my past experience with the Realme Link app that had similar issues, was to lock the app in the ‘recent apps’ section so that it doesn’t get cleared from memory. (the Realme Link app had that included in their setup instructions…)
Haven’t missed a single notification since then!
P.S: Locking the app only prevents “clear all” from wiping it from recents. The app will still stop if you manually swipe it off and the notifications will stop coming too…