-
Notifications
You must be signed in to change notification settings - Fork 58
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
Can't send and receive message #17
Comments
You must follow all instructions step by step carefully on 1.http://www.chat21.org/docs/android/get-started/ 2.https://github.com/chat21/chat21-cloud-functions Yes you are right, you must change chat_setting.xml with your own value. I have already success create an application with chat21 library and with my own firebase database. Thanks for Chat21 sdk Team, Great Jobs |
I keep getting this error com.google.firebase.database.DatabaseException: Calls to setPersistenceEnabled() must be made before any other usage of FirebaseDatabase instance. |
Have you got the fix for this? |
I think I was able to get it working by configuring the Firebase Cloud function. |
I have already clone this project. And i want to use my own firebase to do chatting
I have do the following action to migrate this project from chat21 Firebase to My Own Firebase
The application already can do register, login, see contact... But it can't do chatting. When i want to send message, the user who is sending message is able to see his message with icon not delivered and the recipient is not able to receive the message (but in my firebase, the message already stored).
Can you give me a solution or an anwer, maybe there's something that i forgot to change?
Or am i must change the cloudfunction too? (In chat_setting.xml)
How do i make cloudfunction?
The text was updated successfully, but these errors were encountered: