You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
version: latest 1.1.0
flutter version: 3.19.6
dart version: 3.3.4
platform: web
problem: flutter app cannot relog in due to session not able to logged out.
tried solution: 1)tried sessionLogout 2) setting session to null 3) setting client to null 4) setting websocket to null.
result: the nakama server session seems to linger with all the methods tried above
force solution: force refresh the web app will remove server session status.
Is there an more elegant solution to this?
The text was updated successfully, but these errors were encountered:
this is the code i used :
`Future login(String username, String password) async {
var session = await NakamaClient.getInstance()!
.authenticateEmail(email: username, password: password, create: false);
found the culprit... it was the appbar widget that was causing connections to go berserk. somehow placing the login/logout functions here was causing nakama sockets to not show up on the server debug...
Hey @telostia thanks for reporting this issue.
Many improvements and bug fixes have been pushed to main since the version 1.1.0, and they will be released soon.
You might want to try to update your pubspec.yaml file to point directly to main for now:
version: latest 1.1.0
flutter version: 3.19.6
dart version: 3.3.4
platform: web
problem: flutter app cannot relog in due to session not able to logged out.
tried solution: 1)tried sessionLogout 2) setting session to null 3) setting client to null 4) setting websocket to null.
result: the nakama server session seems to linger with all the methods tried above
force solution: force refresh the web app will remove server session status.
Is there an more elegant solution to this?
The text was updated successfully, but these errors were encountered: