From 480a40862f329f98a37772f01fd774d0e6d89a9e Mon Sep 17 00:00:00 2001 From: Hailey Date: Fri, 7 Jun 2024 15:15:33 -0700 Subject: Use the proper logic on iOS to increment the badge (#4233) --- .../src/ExpoBackgroundNotificationHandler.types.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/expo-background-notification-handler/src/ExpoBackgroundNotificationHandler.types.ts') 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 + setBadgeCountAsync: (count: number) => Promise } // TODO there are more preferences in the native code, however they have not been added here yet. -- cgit 1.4.1