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)