How to observe all firebase database events between two users at concurrent time?
问题 First off, if you have a suggestion for a better title or actual question for this submission, please feel free to edit. I'm stuck as to how to succeed in asking this question. So I've made gone through several Firebase chat (iMessage/ Facebook chat) tutorials for swift. I know how to send a message - let ref = Database.database().reference().child("Message") let childRef = ref.childByAutoId() let toID = finalSelected.ContactID as Any let fromID = Auth.auth().currentUser?.uid let values = [