about summary refs log tree commit diff
path: root/patches/expo-notifications+0.29.11.patch.md
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-12-16 17:35:44 +0000
committerGitHub <noreply@github.com>2024-12-16 17:35:44 +0000
commit21c288272d8e72d7b7d309ba984d1f0a8c1174c5 (patch)
treefbf3880a0d4b1de4932ef6427765064f087c5808 /patches/expo-notifications+0.29.11.patch.md
parentc4fffba11b0302ccaca0392628fa048bab656aa6 (diff)
downloadvoidsky-21c288272d8e72d7b7d309ba984d1f0a8c1174c5.tar.zst
Update more Expo packages (#7127)
* Bump Expo resolutions

* Bump packages

* Bumpy bump
Diffstat (limited to 'patches/expo-notifications+0.29.11.patch.md')
-rw-r--r--patches/expo-notifications+0.29.11.patch.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/expo-notifications+0.29.11.patch.md b/patches/expo-notifications+0.29.11.patch.md
new file mode 100644
index 000000000..05f841725
--- /dev/null
+++ b/patches/expo-notifications+0.29.11.patch.md
@@ -0,0 +1,14 @@
+## LOAD BEARING PATCH, DO NOT REMOVE
+
+## Expo-Notifications Patch
+
+This patch supports the Android background notification handling module. Incoming messages
+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.