From 4968e23dffee810e5e99a599f340415f0da150ee Mon Sep 17 00:00:00 2001 From: Gigiaj Date: Sun, 8 Jun 2025 20:04:38 -0500 Subject: [PATCH] actually set the path (should fix android blank icon issue) --- src/sw.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sw.ts b/src/sw.ts index ffc5c0e1..4a664c1f 100644 --- a/src/sw.ts +++ b/src/sw.ts @@ -4,8 +4,8 @@ import { precacheAndRoute, cleanupOutdatedCaches } from 'workbox-precaching'; export type {}; declare const self: ServiceWorkerGlobalScope; -const DEFAULT_NOTIFICATION_ICON = '/icons/icon-192x192.png'; // Replace with your actual default icon path -const DEFAULT_NOTIFICATION_BADGE = '/icons/badge-72x72.png'; // Replace with your actual default badge icon path (for notification UI) +const DEFAULT_NOTIFICATION_ICON = '/public/res/apple/apple-touch-icon-180x180.png'; +const DEFAULT_NOTIFICATION_BADGE = '/public/res/apple-touch-icon-72x72.png'; const pendingReplies = new Map(); let messageIdCounter = 0;