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

No way to logout/end a session #44

Open
silentl007 opened this issue Aug 29, 2023 · 1 comment
Open

No way to logout/end a session #44

silentl007 opened this issue Aug 29, 2023 · 1 comment

Comments

@silentl007
Copy link

silentl007 commented Aug 29, 2023

I have been battling with this issue for days. There seems to be no way to end the current session so a user can start another session. The use case here is logging out. Once I log out, I want to be able to login back with my previous credential or a new one with a new talkjs session. Each time i try that i get a 'The me property has already been set for the Session object'. I have tried disposing the session, but I still cannot create a new session with a new .me property. Below is a snapshot of the code and error
Flutter 3.10
talkjs_flutter 0.8.1

Screenshot (866)

@bugnano
Copy link
Collaborator

bugnano commented Mar 25, 2024

Try to create a new Session object instead.

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

2 participants