I am having multiple apps on CometChat. Let’s name those APP1 and APP2.
After I do login into my server, I get Comet auth token from my server and then I use that token to login into comet chat.
The issue: After installing my app–>> login into my server–>> login into APP1. Till here everything works fine.
But when I use a different login and then I try to log in into APP2 then I get the following error:
2020-02-07 20:39:06.659 30363-30363/com.iosite.iositewatchapp D/LoginActivity: onError123: The auth token 5e3987bcdb660813d03d4d53_d681d63b0034388a639748418deab3f00539e58c does not exist. Please make sure you are logged in and have a valid auth token or try login again.
2020-02-07 20:39:06.659 30363-30363/com.iosite.iositewatchapp D/LoginActivity: onError456: The auth token 5e3987bcdb660813d03d4d53_d681d63b0034388a639748418deab3f00539e58c does not exist. Please make sure you are logged in and have a valid auth token or try login again.
But when I go into cometchat portal then I can find the auth token(5e3987bcdb660813d03d4d53_d681d63b0034388a639748418deab3f00539e58c) there.
Any idea as to why Cometchat is rejecting the log in???
One more query: when I log out of APP1 then I call “CometChat.logout”.
Is there any other method that I need to call to completely log out of my existing Cometchat session?
I think that I am not able to login to APP2 because the session with APP1 is not properly closed.
And please note that APP1 and APP2 are just dummy names. Basically, in which ever app i log in first it works. And after that it does not work for other apps.
My app is currently live on play/ app stores and it is creating a lot of problems for users.
Can we please get on a call to resolve this quickly?
I am available at email@example.com