Open civodul999 opened 1 year ago
We have this ticket opened https://mattermost.atlassian.net/browse/MM-41961 if you want to contribute :)
Should we use local storage to store these information?
@Sudhanva-Nadiger The local storage should have already that information if you only log out, instead of removing the server. We would only need to show that information to the user.
I can open this ticket https://mattermost.atlassian.net/browse/MM-41961 as help wanted if someone is interested
I want to try this !
Hi @larkox ! Correct me if I am wrong ! I was reading the code around the logout process! in that its not doing anything with local database. So all the data will still be there in the local database and we need to show it when user is again trying to log in again !
So... the "server database" is removed, but the server information (url and name, and not much more) will still be in the "app database". So the idea here is something like:
Does this make sense?
Yesss ! Thanks
Thanks @amyblais for correctly identifying #7939 as a duplicate!
Please note that this is about an enhancement to fix a usability issue, rather than a request for a new feature. This current behavior of the mobile client prevents a significant fraction of inexperienced users from using Mattermost.
Summary
when we log out of the mobile application, we need to specify again server's url and display name.
Environment Information
Steps to reproduce
on mobile phone (android), with the application :
Expected behavior
All data will be removed
Observed behavior (that appears unintentional)
no errors, all datas are deleted
Possible fixes
when we log out, it will be nice if we can log in again just by typing the password. Each time, we have to type url, display name, login and password.