I use firebase to push some message to my Samsung Phone, at begin this all work fine, but after a few moment, I get a Logcat:
2022-09-10 11:18:22.345 1037-1101/? D/FreecessController: FZ : com.cjl.fcmdemo(0), reason: LEV 2022-09-10 11:19:08.417 1037-1090/? D/BaseRestrictionMgr: Package: com.cjl.fcmdemo, userid: 0, hostingType: broadcast is Restricted by policy: 4 caller is: com.google.android.gms 2022-09-10 11:19:08.417 1037-1090/? W/BroadcastQueue: intent:Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x11000010 pkg=com.cjl.fcmdemo (has extras) } is skipped in RestrictedPackage to com.cjl.fcmdemo/com.google.firebase.iid.FirebaseInstanceIdReceiver 2022-09-10 11:19:08.419 2269-2269/? W/GCM: broadcast intent callback: result=CANCELLED forIntent { act=com.google.android.c2dm.intent.RECEIVE flg=0x10000000 pkg=com.cjl.fcmdemo (has extras) }.

after end I can't get any message from firebase, even i know the message is arrive the phone, but the system seem just block the message and don't show it at all.
I am not familiar with Android, And I will appreciate who ever trying to answer this question.
the FZ has different reason on my phone, if the reason is BG, then I can still UFZ the app and get the firebase Push Message, but if the reason is LEV, then I have nothing can do, just have to keep the app foreground.