Open muslimmuda15 opened 6 months ago
Same here , Please provide the fix
I am observing the following:
registerNotificationReceivedForeground
logs. registerNotificationReceivedBackground
does not log.This is on v5.1.0
. Really puzzling.
I have set <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
in all AndroidManifest, but this was already present in debug build and did not change anything.
I also ensured that playImplementation "com.google.firebase:firebase-messaging:23.3.1"
, not core
, was present.
Just to bump this: this bug appears to be related to a lack of push notifications on Android API 33 and above, when the app is in the background. If anyone has any ideas I am happy to debug further!
Same problem here in iOS. registerNotificationReceivedBackground does not log.
Any update on this ?
How to handle callback when Notificationin background?
I have put the code into
index.js
The
Notifications.events().registerNotificationReceivedForeground
cllback in working well. when I usingNotifications.events().registerNotificationReceivedBackground
the notif is successful to show in background / terminate, but I cannot getting any callback in my log. Please help