From 1b12e17bbeef21eb52fa9348718681042613eec9 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 24 Jun 2025 15:56:31 -0500 Subject: [PATCH] Comment --- src/lib/notifications/notifications.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/notifications/notifications.ts b/src/lib/notifications/notifications.ts index a5b6dff06c..db5a8ab11d 100644 --- a/src/lib/notifications/notifications.ts +++ b/src/lib/notifications/notifications.ts @@ -78,10 +78,12 @@ export function useNotificationsRegistration() { getPushToken() } - /* + /** * According to the Expo docs, there is a chance that the token will change * while the app is open in some rare cases. This will fire * `registerPushToken` whenever that happens. + * + * @see https://docs.expo.dev/versions/latest/sdk/notifications/#addpushtokenlistenerlistener */ const subscription = Notifications.addPushTokenListener(async newToken => { registerPushTokenDebounced(agent, currentAccount, newToken)