wix / react-native-notifications

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

Notification received twice when app in background on Android #856

Closed Aure77 closed 2 years ago

Aure77 commented 2 years ago

When I received a remote notification from FCM. I receive 2 notifications in notification center.

After some debugging, it's due to this call: https://github.com/wix/react-native-notifications/blob/e5dad8ad56080bf5f68d061a67ade8dc2f8ea857/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/notification/PushNotification.java#L66 that push this second "blank" notification to notification center (first notification is already present before this point, seems to be handled by FCM ?).

Any idea ?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] commented 2 years ago

The issue has been closed for inactivity.

diegolmello commented 2 years ago

This is still an issue.