onSendMessage() not writing to Firestore after Firestore update
horgag1 opened this issue · 2 comments
horgag1 commented
Firestore.instance.runTransaction((transaction) async {
await transaction.set(
documentReference,
{
'idFrom': id,
'idTo': peerId,
'timestamp': DateTime.now().millisecondsSinceEpoch.toString(),
'content': content,
'type': type
},
);
Dosen't write to Firestore...
horgag1 commented
was using a beta version of Flutter, switching to stable solved the problem
duytq94 commented
Happy to hear you solved the problem. But at that time, I'm also in the beta channel and don't get the issue. That's quite strange.