about summary refs log tree commit diff
path: root/modules/expo-background-notification-handler/src/ExpoBackgroundNotificationHandler.types.ts
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-06-07 15:15:33 -0700
committerGitHub <noreply@github.com>2024-06-07 15:15:33 -0700
commit480a40862f329f98a37772f01fd774d0e6d89a9e (patch)
treead39ad65806cb51694d0a92feee8337c7f454aa4 /modules/expo-background-notification-handler/src/ExpoBackgroundNotificationHandler.types.ts
parentc58aedf050ea96ece27549b4c5a084611473db9d (diff)
downloadvoidsky-480a40862f329f98a37772f01fd774d0e6d89a9e.tar.zst
Use the proper logic on iOS to increment the badge (#4233)
Diffstat (limited to 'modules/expo-background-notification-handler/src/ExpoBackgroundNotificationHandler.types.ts')
-rw-r--r--modules/expo-background-notification-handler/src/ExpoBackgroundNotificationHandler.types.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/expo-background-notification-handler/src/ExpoBackgroundNotificationHandler.types.ts b/modules/expo-background-notification-handler/src/ExpoBackgroundNotificationHandler.types.ts
index 5fbd302da..b74148db4 100644
--- a/modules/expo-background-notification-handler/src/ExpoBackgroundNotificationHandler.types.ts
+++ b/modules/expo-background-notification-handler/src/ExpoBackgroundNotificationHandler.types.ts
@@ -31,6 +31,7 @@ export type ExpoBackgroundNotificationHandlerModule = {
     forKey: keyof BackgroundNotificationHandlerPreferences,
     value: string[],
   ) => Promise<void>
+  setBadgeCountAsync: (count: number) => Promise<void>
 }
 
 // TODO there are more preferences in the native code, however they have not been added here yet.