-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Firestore transaction fails after long delay when wifi network is changed in background #4905
Comments
Hi @Gagnant, looks like you're using an older version of Firebase SDK. Could you please try updating it to the latest version and let me know if you'd still encounter the issue? |
Hi @rizafran ,
|
Thanks for letting me know, @Gagnant. I'll try to replicate this on my end and I'll inform you once I have an update. |
Hi @Gagnant We are aware of this issue, and have a potential fix that we are looking into. In the meantime, you can probably use a walkaround of keep a Firestore Please let me know if this did not work for you. |
Hi @wu-hui, thank you for the suggestion! In the application, I have an active firestore subscription but delay still persists. |
Sorry, apparently I had some misunderstanding when I made the suggestion. I am looking into this now. Can you provide a more detailed description though? Specifically, did you do anything before |
This fix should go out with the next release. |
[REQUIRED] Step 1: Describe your environment
[REQUIRED] Step 2: Describe the problem
After changing a wifi network in the background and then executing firestore transaction in the foreground, it fails after a noticeable delay of ~20 seconds. After that, transactions are executed as regular.
Steps to reproduce:
Observed Results:
The first transaction fails with a timeout error after ~20 seconds. After that, transactions are executed as regular.
Expected Results:
Transaction succeeds after a short delay.
Relevant Code:
The text was updated successfully, but these errors were encountered: