Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Anonymous User flow view model

Description

This merge request adds support for anonymous user login in the LoginViewModel class.

Technical details

  • Created a new function authenticateAnonymousUser() in the LoginViewModel to handle anonymous user login.
  • Implemented the logic to authenticate and authorize anonymous users.
  • Added necessary API calls and data handling for anonymous user login.

Tests

  • Unit tests for the new testOnSuccessReturnLogInStateTrue(), testOnFailureReturnLogInStateFalseWithError(), testOnLoadingReturnLogInStateFalse() function have been added to ensure its correctness.

Issues

https://gitlab.e.foundation/e/os/backlog/-/issues/1456

10 commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

Merge request reports

Loading