Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chat messages not visible #8

Open
iamsanketray123 opened this issue Jun 21, 2019 · 10 comments
Open

Chat messages not visible #8

iamsanketray123 opened this issue Jun 21, 2019 · 10 comments

Comments

@iamsanketray123
Copy link

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?

@jf-gallo
Copy link

Same.

@mrcflorian
Copy link
Collaborator

Hey guys, can you share the code you used to present the ATCChatThreadViewController?

@jf-gallo
Copy link

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.

@masture
Copy link

masture commented Aug 19, 2019

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.

@snowolfex
Copy link

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.

@mrcflorian
Copy link
Collaborator

@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

@lavTeam
Copy link

lavTeam commented Sep 17, 2019

@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 {

@denikaev
Copy link

denikaev commented Oct 3, 2019

has someone solved the problem?

@jf-gallo
Copy link

jf-gallo commented Oct 3, 2019 via email

@Dozorov
Copy link

Dozorov commented Dec 7, 2019

Any update? Still didPressSendButtonWith not trigered...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants