invertase / notifee

⚛️ A feature rich notifications library for React Native.
https://notifee.app
Apache License 2.0
1.88k stars 228 forks source link

onBackgroundEvent returns the last push. #895

Closed Falsin closed 1 year ago

Falsin commented 1 year ago

If there are active push notifications on the device, after opening and closing the application, onBackgroundEvent always returns the latest push notification. I'm using version 7.1.0 of notifee, react native 0.64.2, and Android SDK 33. I understand that these are outdated versions, but is it possible to do something about it without updating? The issue is only observed on Android. However, when calling the getDisplayedNotifications method, I receive the correct array of notifications and I can see that the correct notifications are being removed from it. Because of this, I tried updating all existing notifications using the displayNotification method when the application opens, but it didn't yield any results. I have been working on this for almost a month, is it possible to do something about it?