I've noticed that nothing ever gets _next_'ed into tokenRefreshObserver_, meaning that the function or observer passed to firebase.messaging.Messaging#onTokenRefresh() never gets triggered.
See: src/messaging/controllers/window-controller.ts#L72-L75
Is there some process missing that would receive token updates and trigger onTokenRefresh()?
n/a
See linked file.
Hey there! I couldn't figure out what this issue is about, so I've labeled it for a human to triage. Hang tight.
I just found this Stackoverflow answer by @gauntface from a few months ago addressing this. In short, for anyone else stumbling upon this in the future: onTokenRefresh() is currently not used.
Closing this issue, sorry for the noise!
Most helpful comment
I just found this Stackoverflow answer by @gauntface from a few months ago addressing this. In short, for anyone else stumbling upon this in the future:
onTokenRefresh()is currently not used.Closing this issue, sorry for the noise!