patch expo-notifications
to clear badge (#4475)
This commit is contained in:
parent
d85c8a0976
commit
808dd3569d
2 changed files with 51 additions and 21 deletions
|
@ -7,3 +7,8 @@ in `onMessageReceived` are sent to the module for handling.
|
|||
|
||||
It also allows us to set the Android notification channel ID from the notification `data`, rather
|
||||
than the `notification` object in the payload.
|
||||
|
||||
### `setBadgeCountAsync` fix on Android
|
||||
|
||||
`ShortcutBadger`'s `setCount` doesn't work for clearing the badge on Android for some reason. Instead, let's use the
|
||||
Android API for clearing the badge.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue