chat21-android-sdk
chat21-android-sdk copied to clipboard
Message not receving to mobile but receving to firebase realtime database
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}
In My Log show Exception : ConversationMessagesHandler : Error decoding message on onChildChanged Required sender field is null for message id : -Lt45PA8CZc9nnPRcgdM
Kindly support ASAP
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
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}
Having same issue. Any luck with it?
Hi @kashyap-virtualdusk no luck ., I created new chat module using socket , waste of time to using this library
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.
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.
@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?
Get the same error when sending msg. Any luck with it?