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

Messages are not receiving at receiver side and not creating conversation list #7

Open
Gautam117 opened this issue Mar 13, 2019 · 8 comments

Comments

@Gautam117
Copy link

I've integrated Chat21 core and UI library to my existing project with successfully. But when I'm chatting with the created user the message is sending to Console but not receiving at receiver side.
Also, not generating the conversation list after chatting with the other user.
The below link is a Chat21 that I'm running into my simulator with the exact functionality.
https://drive.google.com/open?id=1ZIbWhN6_4Gux6qfwFzaZ98Qz9efpFYYj

Can anyone help me out, will be very appreciable.
Thanks.

@andrealeo83
Copy link
Contributor

Have you installed Chat21-Cloud-Function ?
Please see this tutorial : http://www.chat21.org/docs/ios/introduction/

@Gautam117
Copy link
Author

@andrealeo83 Thanks for guiding me. It helps me a-lot. Very appreciable.

@Gautam117 Gautam117 reopened this Mar 15, 2019
@Gautam117
Copy link
Author

Hi Andrealeo,
There is a + icon for document but there is not for Document upload.
Also, is there any code to upload pictures message on Firebase like text?

@andrealeo83
Copy link
Contributor

@sponzillo

@Gautam117
Copy link
Author

@sponzillo Hi,
Can you please guide me how to upload the image message on Firebase using the Chat21 library for both Group and one to one?

@sponzillo
Copy link
Contributor

If you was able to setup text messages' sending you can also send images. Chat21 uses only Firebase to send messages and upload images. Just follow this guide: http://www.chat21.org/docs/ios/get-started/

Don't forget to install the chat backend, build on Firebase cloud functions: https://github.com/chat21/chat21-cloud-functions

@Gautam117
Copy link
Author

@sponzillo Hi,
Can you please help me to rid out from the below error?
[Firebase/Database][I-RDB038012] Listener at **/apps/chat/users/lZyamFMC2NdoKh4XBDsiFKWIwM52/messages/31003167701082355032701 failed: permission_denied

Error Domain=com.firebase Code=1 "Permission Denied" UserInfo={NSLocalizedDescription=Permission Denied}**

Flow is like,
I've registered using one email and password and when I'm creating one group using my self and another user which are not registered.
So, I'm registering another user using email id and password, after successfully registered I'm logging the same user but, still getting the same user.
I'm not sending the user message.

@jasanijanki
Copy link

@Gautam117
Hi Gautam, I have same issue regarding, at receiver end I am not getting anything as well as not generated conversation list at sender side even. Can you help me regarding how can we integrate cloud functions in to ios app?

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

4 participants