diff --git a/apps/tlon-mobile/ios/Shared/Notifications/PushNotificationManager.swift b/apps/tlon-mobile/ios/Shared/Notifications/PushNotificationManager.swift index ef83f5128e..42eeb7a5a7 100644 --- a/apps/tlon-mobile/ios/Shared/Notifications/PushNotificationManager.swift +++ b/apps/tlon-mobile/ios/Shared/Notifications/PushNotificationManager.swift @@ -138,11 +138,11 @@ enum NotificationCategory: String { content.threadIdentifier = yarn.rope.thread content.title = await yarn.getTitle() content.body = yarn.body - content.badge = await withUnsafeContinuation { cnt in - UNUserNotificationCenter.current().getDeliveredNotifications { notifs in - cnt.resume(returning: NSNumber(value: notifs.count + 1)) - } - } + // content.badge = await withUnsafeContinuation { cnt in + // UNUserNotificationCenter.current().getDeliveredNotifications { notifs in + // cnt.resume(returning: NSNumber(value: notifs.count + 1)) + // } + // } content.categoryIdentifier = yarn.category.rawValue content.userInfo = yarn.userInfo content.sound = UNNotificationSound.default diff --git a/packages/app/lib/notifications.ts b/packages/app/lib/notifications.ts index 680117b10e..a3cd7ec8a6 100644 --- a/packages/app/lib/notifications.ts +++ b/packages/app/lib/notifications.ts @@ -117,9 +117,10 @@ async function updatePresentedNotifications(badgeCount?: number) { }) ); - const count = - badgeCount ?? (await Notifications.getPresentedNotificationsAsync()).length; - await Notifications.setBadgeCountAsync(count); + // NOTE: removing badging for now + // const count = + // badgeCount ?? (await Notifications.getPresentedNotificationsAsync()).length; + // await Notifications.setBadgeCountAsync(count); } export function useUpdatePresentedNotifications() {