ConnectyCube / connectycube-reactnative-samples

Chat and Video Chat code samples for React Native, ConnectyCube
https://connectycube.com
Apache License 2.0
125 stars 111 forks source link

not able to get group chat history #50

Closed yogitaV-dev closed 4 years ago

yogitaV-dev commented 4 years ago

i checked RNChat with default config i can see the group history but when we try to change config with my app config that time i am not able to see group chat history which i have done

Kachanov-dev commented 4 years ago

HI @yogitaV-dev. Can you get dialogs or is it a problem with receiving messages?

ccvlad commented 4 years ago

@yogitaV-dev Do you expect to see the history that you have created on default config? Did you change API's endpoints in your config?

yogitaV-dev commented 4 years ago

HI @yogitaV-dev. Can you get dialogs or is it a problem with receiving messages?

i am facing problem with receiving messages and i checked with my connectycube dashboard there also i am getting null with group chat message. and if try with RNChat default config that time i am able to see group chat histroy

yogitaV-dev commented 4 years ago

@yogitaV-dev Do you expect to see the history that you have created on default config? Did you change API's endpoints in your config?

yes..i change endpoint also and login with my credential and created new group with conversation but when i close the app and open again the app group history not showing. But if i keep the app default config and login with accordingly that time group chat history working fine. i want to say that RNSample chat group history working fine but when i change the config with my app config and try to make group chat... that time chat history not showing when i open the app again

ccvlad commented 4 years ago

Can we see what were changed in you config? Are you use our shared server's endpoints?

yogitaV-dev commented 4 years ago

Can we see what were changed in you config? Are you use our shared server's endpoints?

i used my app config { "name": "Rnchat", "displayName": "Rnchat", "senderID": "594331487245", "connectyCubeConfig": [ { "appId": 2022, "authKey": "LQHEMpcZEADKMYR", "authSecret": "8-Q4zKT7xdhmtW7" }, { "chat": { "streamManagement": { "enable": true } }, "debug": { "mode": 1 } } ] }

ccvlad commented 4 years ago

Any errors in your console?

yogitaV-dev commented 4 years ago

Any errors in your console?

no, but in my connectycube account chat history for group all are showing null

Kachanov-dev commented 4 years ago

Hi @yogitaV-dev
"Before you start chatting in a group dialog, you need to join it by calling join function": Doc: https://developers.connectycube.com/js/messaging?id=group-chat

yogitaV-dev commented 4 years ago

Thanks for your support now it's working fine..