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
ComectChat starts new activity stack every time #8
Comments
Hi @imdBhargav |
Thanks @jitvarpatil |
Hi @imdBhargav We have tested analyzed the issue you are facing. It seems that you are giving multiple calls to launchCometChat() method and multiple windows are getting added in the stack. However, we have addressed this issue at our end and the fix will be available in our next release. Feel free to contact us for any other queries or issue. |
Hi @jitvarpatil Thanks for your reply Can you please suggest any other possible way to open a chat for different users without giving multiple calls to launchCometChat() as for as I know the only way to open a chat is calling launchCometChat through uid |
Hi @imdBhargav Yes, You're correct. The only way to launch CometChat is using launchCometChat() method. You can add the following line of code in the manifest file to fix the issue you are facing.
In CometChatActivity & CCSingleChatActivity tags. Feel free to contact us for any other queries or issue. Thank You |
If I have 5 users in my app and click on 1st user to chat with him.
It starts cometchat screen.
I came back from chat to my app
now I click on 2nd user to chat with him
It starts chat with 2nd user
Now coming back,
it will show the main cometchat screen, then 1st user chat window and then again main screen and then it came to my app.
Everytime i starts cometchat, It creates a new activity task and not replacing an existing one.
Or may be on exiting cometchat, its not kill that app.
The text was updated successfully, but these errors were encountered: