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 <git@esb.lol>
This commit is contained in:
Samuel Newman
2025-07-11 00:36:53 +03:00
committed by GitHub
parent 22bda086d0
commit 377d80e21d
7 changed files with 276 additions and 148 deletions
+1
View File
@@ -26,6 +26,7 @@ export type MetricEvents = {
}
'notifications:openApp': {
reason: NotificationReason
causedBoot: boolean
}
'notifications:request': {
context: 'StartOnboarding' | 'AfterOnboarding' | 'Login' | 'Home'