This commit is contained in:
Eric Bailey
2025-07-16 16:50:36 -05:00
parent 75df582944
commit eca49556d2
+3
View File
@@ -192,6 +192,9 @@ export function useNotificationsRegistration() {
* Register the push token with the Bluesky server, whenever it changes. * Register the push token with the Bluesky server, whenever it changes.
* This is also fired any time `getDevicePushTokenAsync` is called. * This is also fired any time `getDevicePushTokenAsync` is called.
* *
* Since this is registered immediately after `getAndRegisterPushToken`, it
* should also detect that getter and be fired almost immediately after this.
*
* According to the Expo docs, there is a chance that the token will change * 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 * while the app is open in some rare cases. This will fire
* `registerPushToken` whenever that happens. * `registerPushToken` whenever that happens.