Open iamsanketray123 opened 5 years ago
Same.
Hey guys, can you share the code you used to present the ATCChatThreadViewController?
I used the code that comes with the repo on the main branch. So no changes made.
I found two issues. One is that the podfile is not updated to use the swift 5 version of MessageKit. After doing this update, there are a few fixes which make the proyect run. I have this fix and can send pull request if you want.
However, when the project runs, messages do not send because MessageInputBarDelegate: didPressSendButtonWith is not triggering.
After creating the FireStore Database and enabling anonymous authentication, I can see the message are sent successfully and can be viewed from Firebase Console. However messages are not seen on ATCChatThreadsViewController.
Paid for a copy actually - Need help asap yesterday. Trying to just get a chat going between two users at one time.
Brought in core. That works fine. Did NOT go to swift 5 MessageKit. ACTUALLY am using core from free version as paid version had some pods that are NOT in free and are not listed in instructions; and actually - seems to cause way more issues with compile.
I have THIS problem so FIRST question.
Do I CREATE these tables (collections) in firestore? (If so - missed where and how to exactly set them up).
Obviously more needed than just two different names going into same group chat for display I'm guessing. I see messages stored in a thread in newly created channels collection.
@snowolfex Did you get a chance to check out the documentation? You can see the database scheme there, but the app will create the tables automatically, you don't need to do it manually. Just make sure you have write permissions for your Firebase account
@iamsanketray123 replace in ATChatMessage.swift -> line 63: guard let sentDate = data["created"] as? Date else { To guard let sentDate = (data["created"] as? Timestamp)?.dateValue() else {
has someone solved the problem?
check @iamsanketray123 solution.
El jue., 3 oct. 2019 a las 2:35, denikaev (notifications@github.com) escribió:
has someone solved the problem?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/instamobile/messenger-iOS-chat-swift-firestore/issues/8?email_source=notifications&email_token=AAH7VLZBSBZOASO6QRJDX2DQMWOEXA5CNFSM4H2SXBLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAHJD2Y#issuecomment-537825771, or mute the thread https://github.com/notifications/unsubscribe-auth/AAH7VLZ3XNHOUGMS6LRSLCLQMWOEXANCNFSM4H2SXBLA .
Any update? Still didPressSendButtonWith not trigered...
I am not sure how it's supposed to work. But when I download the project, run it and send some message, I don't really see the messages. It's completely blank. Do I need to do anything else other than the steps mentioned?