-
Notifications
You must be signed in to change notification settings - Fork 875
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getToken pending after refresh in Chrome #8238
Comments
Hi @frankA10019, I was unable to get this code working. Could you provide additional information:
I also noticed that you catch errors and log them. Are there any errors with registering your service worker? |
Hi @dlarocque,
|
Hi, unfortunately I'm still having issues reproducing the issue and getting your code running in my React app. Could you share a minimal app with steps I can follow to run it so that I can reproduce the issue? |
Hey @frankA10019. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @frankA10019 if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
Operating System
macOS Sonoma 14.1.1(23B81)
Browser Version
Chrome 124.0.6367.156
Firebase SDK Version
9.23.0
Firebase SDK Product:
Messaging
Describe your project's tooling
react
Describe the problem
GetToken only work success when first time open the Chrome. If I refresh the page, then getToken function getting pending. Then I close the chrome and reopen it. The getToken return the fcm token success. I try refresh the page in safari. GetToken function always works perfectly. It seems only happen on the Chrome.
Steps and code to reproduce issue
The text was updated successfully, but these errors were encountered: