-
Notifications
You must be signed in to change notification settings - Fork 93
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
Message Not Sent #42
Comments
Did you follow all the configuration steps? When you install Chat21 Firebase Cloud Functions the database rules are automatically installed. |
Hai, now I have followed the cloud functions setup. I have integrated the functions in firebase. I am Having Following error in firebase function Request InserAndSendMessage Function. while sent a message. TypeError: Cannot read property 'message_id' of undefined Please Help me @alessandro-giovinazzo |
Can you run "firebase --version" and confirm your firebase installation version is 3.16.0 ?As described on the Chat21 Cloud Functions REAME at the moment we don't support 3.18.0 and upper versions |
my firebase version is 3.16.0 but the message can not be sent. in my console "OK MSG SENT WITH SUCCESS TO SERVER" but message not sent in my firebase functions dashboard the request has been called. with the following error above I have mentioned previous comment Firebase Functions errors insertAndSendMessage -> gmp_databaseref.create/apps/{app_id}/users/{sender_id}/messages/{recipient_id}/{message_id} please help me @andrealeo83 |
Please uninstall firebase-tools and reinstall it with: npm uninstall -g firebase-tools Please also check your package.json contains following lines: After that run:
The problem is caused by the new firebase-functions v1.0 as described here: |
I have integrated all the things correctly the registration and login work perfectly but message not sending to another user. in the database table can't be created conversation table because no messages sent.
Finally, can you send the database rules for security?
The text was updated successfully, but these errors were encountered: