b8ne / react-native-pusher-push-notifications

Manage pusher interest subscriptions and notification events in Javascript.
MIT License
97 stars 85 forks source link

Recommended methods to interact with badge counts #36

Closed gprocell927 closed 3 years ago

gprocell927 commented 5 years ago

Is there currently a way to interact with badge counts using RNPusherPushNotifications? I'm currently seeking a way to clear the count upon entering the app from an icon press. In iOS, this seems to be handled simply via that AppDelegate.m file, but in Android, it seems to be more involved and that I would need to interfere with channels that might be set up via this library.

Humni commented 3 years ago

See the docs: https://github.com/b8ne/react-native-pusher-push-notifications#increment-badge-number