You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to write to the collection, with this code : DocumentSnapshot snapshot = await swarmReference.doc(tokenGroup).get(); print("Document ${snapshot.exists}"); if (snapshot.exists) { swarmReference.doc(tokenGroup).update({ 'memberCount': memberCount, 'isPrivate': usingPassword, 'password': password, }); }
What happens:
I can write to Firebase but only one change at a time. When I do the next update, the last one gets reverted.
When I modify data in the Firebase Console, I can also not see it change
BUT once I reload/reinstall the App, all the Data syncs up to the current state of the Firebase Console
Anyone know why I do not get updates with the Stream? Thanks for your help.
my version : cloud_firestore: ^3.1.11
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I try to write to the collection, with this code :
DocumentSnapshot snapshot = await swarmReference.doc(tokenGroup).get(); print("Document ${snapshot.exists}"); if (snapshot.exists) { swarmReference.doc(tokenGroup).update({ 'memberCount': memberCount, 'isPrivate': usingPassword, 'password': password, }); }
What happens:
Anyone know why I do not get updates with the Stream? Thanks for your help.
my version : cloud_firestore: ^3.1.11
Beta Was this translation helpful? Give feedback.
All reactions