From efac39861817f4237c58211f68ef266d919b4d40 Mon Sep 17 00:00:00 2001 From: Hailey Date: Tue, 11 Jun 2024 09:25:53 -0700 Subject: [PATCH] use a `0` string for badge count --- .../BackgroundNotificationHandler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/expo-background-notification-handler/android/src/main/java/expo/modules/backgroundnotificationhandler/BackgroundNotificationHandler.kt b/modules/expo-background-notification-handler/android/src/main/java/expo/modules/backgroundnotificationhandler/BackgroundNotificationHandler.kt index 0a8737b88f..df14aadc0f 100644 --- a/modules/expo-background-notification-handler/android/src/main/java/expo/modules/backgroundnotificationhandler/BackgroundNotificationHandler.kt +++ b/modules/expo-background-notification-handler/android/src/main/java/expo/modules/backgroundnotificationhandler/BackgroundNotificationHandler.kt @@ -37,6 +37,6 @@ class BackgroundNotificationHandler( } // TODO - Remove this once we have more backend capability - remoteMessage.data["badge"] = null + remoteMessage.data["badge"] = "0" } }