about summary refs log tree commit diff
path: root/patches/expo-notifications+0.31.3.patch.md
diff options
context:
space:
mode:
authorhailey <me@haileyok.com>2025-06-12 10:46:22 -0700
committerGitHub <noreply@github.com>2025-06-12 10:46:22 -0700
commit477e5f4ecfaa0007aeed90b51274c78a730c1a9e (patch)
tree45cd5cfff9eab1bd52b5ade6c60efebe3cc5e6b6 /patches/expo-notifications+0.31.3.patch.md
parenta26b20b56cd0ac80f625a5eb5136b805b9341e8d (diff)
downloadvoidsky-477e5f4ecfaa0007aeed90b51274c78a730c1a9e.tar.zst
new arch (#8295)
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
Co-authored-by: Charlotte Som <charlotte@som.codes>
Co-authored-by: Hailey <me@haileyok.com>
Diffstat (limited to 'patches/expo-notifications+0.31.3.patch.md')
-rw-r--r--patches/expo-notifications+0.31.3.patch.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/expo-notifications+0.31.3.patch.md b/patches/expo-notifications+0.31.3.patch.md
new file mode 100644
index 000000000..05f841725
--- /dev/null
+++ b/patches/expo-notifications+0.31.3.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.