2024-05-15 20:49:07 +02:00
|
|
|
## 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.
|
2024-06-11 05:19:19 +02:00
|
|
|
|
|
|
|
### `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.
|