Replies: 1 comment
-
TBH, I wasn't aware of that. However, I'm glad that it works but I can't tell you why it works. 😅 We're just calling the Firebase JS SDK.
That's up to you and your requirements. There is no recommendation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The documentation for Firestore JS (Web) API for updateDoc states that promise will not be resolved in offline mode (that's why we usually don't await).
So I'm curious how does updateDocument function from capacitor-firebase work internally as it seems to call the updateDoc with await, yet doesn't hang even if I put my browser in offline mode:
BTW: is awaiting on a call FirebaseFirestore.updateDocument necessary/recommended?
Beta Was this translation helpful? Give feedback.
All reactions