react-native-notifications
react-native-notifications copied to clipboard
[iOS] getInitialNotification returnsthe notification even when the app was opened without tapping it
Steps to reproduce
- use iOS 17.0.1+
- Kill the app, and put it in the DEAD state
- Receive a push notification
- Do not tap the notification, open the app from the home screen instead
- getInitialNotification() -> returns a notification object
Expected
- getInitialNotification() -> returns undefined
@andrejborstnik did you find any solution?
We fixed it like this in our fork https://github.com/ExodusMovement/react-native-notifications/pull/4 https://github.com/ExodusMovement/react-native-notifications/pull/7. Not sure if that works for all use-cases or on the latest version of upstream
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
The issue has been closed for inactivity.