wix / react-native-notifications

React Native Notifications
MIT License
3.23k stars 763 forks source link

[iOS] getInitialNotification returns something without tap the notification #1001

Closed gutenye closed 12 months ago

gutenye commented 1 year ago

Steps to reproduce

  1. Kill the app, and put it in the DEAD state
  2. Receive a push notification
  3. Do not tap the notification, open the app from the home screen instead
  4. getInitialNotification() -> returns a notification object

Expected

getInitialNotification() -> returns undefined

gutenye commented 12 months ago

Closed by https://github.com/ExodusMovement/react-native-notifications/pull/4