react-native-push-notification / ios

React Native Push Notification API for iOS.
MIT License
732 stars 281 forks source link

The new Notification is automatic removed and badge counter as well when App is in kill mode. #356

Open saurabh874 opened 2 years ago

saurabh874 commented 2 years ago

In kill mode only - After few notifications received then suddenly notifications and badge count removed if again new notification come up. version:- "@react-native-community/push-notification-ios": "^1.6.0", "react-native": "0.64.2", iOS version: 15+

Daman248 commented 2 years ago

I am facing a similar issue, The first notification received does not stay in tray, it removes from tray after few seconds. Facing This issue while receiving Notification Via APNS and only in kill state. Works fine with background state.

Also I verified if we have used two different block of code for killed state and background state but no such case was observed.

Versions used- "@react-native-community/push-notification-ios": "^1.8.0", "react-native": "^0.62.2", iOS version: 15+