diff options
author | Hailey <me@haileyok.com> | 2024-06-10 20:19:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-10 20:19:19 -0700 |
commit | 808dd3569d1f004903d2bf54f29de2db74bbefd1 (patch) | |
tree | 95515f51a42a4401f0b10763be30cd7716be21b8 /patches/expo-notifications-0.28.7.patch.md | |
parent | d85c8a09760aa91c080465840144b61155dc7ddf (diff) | |
download | voidsky-808dd3569d1f004903d2bf54f29de2db74bbefd1.tar.zst |
patch `expo-notifications` to clear badge (#4475)
Diffstat (limited to 'patches/expo-notifications-0.28.7.patch.md')
-rw-r--r-- | patches/expo-notifications-0.28.7.patch.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/patches/expo-notifications-0.28.7.patch.md b/patches/expo-notifications-0.28.7.patch.md index 59b2598f3..05f841725 100644 --- a/patches/expo-notifications-0.28.7.patch.md +++ b/patches/expo-notifications-0.28.7.patch.md @@ -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. |