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/logger/metrics.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/logger') diff --git a/src/logger/metrics.ts b/src/logger/metrics.ts index d18e69122..3390c4b4b 100644 --- a/src/logger/metrics.ts +++ b/src/logger/metrics.ts @@ -26,6 +26,7 @@ export type MetricEvents = { } 'notifications:openApp': { reason: NotificationReason + causedBoot: boolean } 'notifications:request': { context: 'StartOnboarding' | 'AfterOnboarding' | 'Login' | 'Home' -- cgit 1.4.1