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

Message not receving to mobile but receving to firebase realtime database #38

Open
pradeepknila opened this issue Nov 7, 2019 · 8 comments

Comments

@pradeepknila
Copy link

Hi .,
Chat Sdk working like charm past days , i am facing issues from last two days
In My application i used for chat conversation after hit send icon , message status still pending but message receiving in Real time Database as well as not receiving in Receiver Side

PFA for Image Screen

Log : saveOrUpdateMessageInMemory for message : Message{id='-Lt3BGbivg9sbvfDy5fG', sender='mr1n3llvZlfTGcOss6MWB5VXSuv2', senderFullname='Pregy Pillay ', recipient='EcU8E6Ax4iXfyoOsC3fbpbTcdad2', recipientFullname='SujithA kingston', text='Oiiiii', status=0, timestamp=1573102099034, type='text', channelType='direct', metadata=null, attributes=null}

Screenshot_2019-11-07-10-23-10-61

In My Log show Exception : ConversationMessagesHandler : Error decoding message on onChildChanged Required sender field is null for message id : -Lt45PA8CZc9nnPRcgdM

Kindly support ASAP

@gab-95
Copy link
Collaborator

gab-95 commented Nov 8, 2019

Hi @pradeepknila ,
are you sure cloud functions on your firebase project still working properly?
Give me more info about your problem, so i try to help you resolving your issue

@pradeepknila
Copy link
Author

Hi @pradeepknila ,
are you sure cloud functions on your firebase project still working properly?
Give me more info about your problem, so i try to help you resolving your issue

when i was trying to sending chat message to Realtime database its received in Fire base , but not receiving to Receiver End

"chatknila.com.chatsdk.core.messages.models" ---> Class Name

Message Status was STATUS_SENDING, I tried to print a log Kindly check below

Its a success log
Log : saveOrUpdateMessageInMemory for message : Message{id='-Lt3BGbivg9sbvfDy5fG', sender='mr1n3llvZlfTGcOss6MWB5VXSuv2', senderFullname='Pregy Pillay ', recipient='EcU8E6Ax4iXfyoOsC3fbpbTcdad2', recipientFullname='SujithA kingston', text='Oiiiii', status=0, timestamp=1573102099034, type='text', channelType='direct', metadata=null, attributes=null}

@kashyap-virtualdusk
Copy link

Having same issue. Any luck with it?

@pradeepknila
Copy link
Author

Hi @kashyap-virtualdusk no luck ., I created new chat module using socket , waste of time to using this library

@zaprogrammer
Copy link

Just a hint, unfortunately I faced the same issue, and I used an iOS application as Agent to reply for Android users. It was fixed by having two separate agent apps, Android agent app for android clients, and iOS agent app for android clients.

@Bobbykart
Copy link

Bobbykart commented Mar 12, 2020

had the same issue but i solved it.

After you install NPM and stuff, check if your package.json, firebase.json and index.js were overwritten and change it back by editing it and not replacing the file. also check maybe other files, too.

@vikas-jain-plutus
Copy link

@Bobbykart I am also facing the same issue after updating the Android 11 targetversion. I am not sure what causing the issue. But Can you please help me what things need to change now in the current working code?

@MrJohn2014
Copy link

Get the same error when sending msg. Any luck with it?

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

7 participants