-
Notifications
You must be signed in to change notification settings - Fork 929
Firestore onSnapshot() or get() stucked on app restart - same as 5058 #5724
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
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hi @olivierkrener , Thanks for reporting. Are you seeing this issue only when using Safari 15 on iOS? There was an issue specific to Safari 15 that just got fixed (#5716). |
This sounds great. I will be monitoring the release notes. I see in the comments of #4076 that calling |
I think it's worth trying to see if this workaround works for you while you wait for the next release. |
I can confirm that this workaround works on my two test iOS devices (running on Safari 12 and 15) |
Same as #5058
I am creating a new issue as 5058 is locked.
My setup has slightly evolved but the issue is exactly the same:
Operating System version: _____ iOS 15.0
Browser version: _____ Safari 15.0
Firebase SDK version: _____ 9.2.0
Firebase Product: _____ Firestore, using the compat version
After restarting my app, a call to get() or onSnapshot() will never return a document that I know exist. Killing the app and starting from scratch will work.
The problem only occurs on iOS, all the other platforms I have tried work as expected:
And here are the logs I have now:
Fyi, I can now reproduce the issue on my app (but not on a mini repo unfortunately) so I can try to pull more info or logs for you if you tell me how to get them
The text was updated successfully, but these errors were encountered: