From 377d80e21df668c50585b1131bf1b7f0528bacd0 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Fri, 11 Jul 2025 00:36:53 +0300 Subject: Handle notifications on first load (#8629) * add getInitialURL * get deep linking working * actually handle as push instead * push to route instead of setting initial path * pop to on top of notifications * fix comment * change chat-message handling * add metrics * don't reopen due to notif multiple times * extract data from notification differently on android * sorry sorry annoying naming nits, align logger --------- Co-authored-by: Eric Bailey --- src/lib/notifications/util.ts | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/lib/notifications/util.ts (limited to 'src/lib/notifications/util.ts') diff --git a/src/lib/notifications/util.ts b/src/lib/notifications/util.ts new file mode 100644 index 000000000..6d00aa0e3 --- /dev/null +++ b/src/lib/notifications/util.ts @@ -0,0 +1,3 @@ +import {Logger} from '#/logger' + +export const logger = Logger.create(Logger.Context.Notifications) -- cgit 1.4.1