[PR #2608] [PM-2287][PM-2289][PM-2293] Approval Options #3676

Closed
opened 2025-11-26 23:36:00 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/bitwarden/android/pull/2608

State: closed
Merged: Yes


Type of change

  • Bug fix
  • New feature development
  • Tech debt (refactoring, code cleanup, dependency upgrades, etc)
  • Build/deploy pipeline (DevOps)
  • Other

Objective

Create navigation and logic to trust a device on the 3 available device approval options: device, admin and master password.

Code changes

Change existing LoginPasswordlessRequestPage to work with both types of auth requests, admin and login with device, by accepting an AuthRequestType and passing it the the service. Also added to this page a check to perform a device trust on successful login.
Master password also has a check to make the device trusted on successful login.

Screenshots

New Screen:
image

Before you submit

  • Please check for formatting errors (dotnet format --verify-no-changes) (required)
  • Please add unit tests where it makes sense to do so (encouraged but not required)
  • If this change requires a documentation update - notify the documentation team
  • If this change has particular deployment requirements - notify the DevOps team
**Original Pull Request:** https://github.com/bitwarden/android/pull/2608 **State:** closed **Merged:** Yes --- ## Type of change - [ ] Bug fix - [X] New feature development - [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc) - [ ] Build/deploy pipeline (DevOps) - [ ] Other ## Objective <!--Describe what the purpose of this PR is. For example: what bug you're fixing or what new feature you're adding--> Create navigation and logic to trust a device on the 3 available device approval options: device, admin and master password. ## Code changes <!--Explain the changes you've made to each file or major component. This should help the reviewer understand your changes--> <!--Also refer to any related changes or PRs in other repositories--> Change existing `LoginPasswordlessRequestPage` to work with both types of auth requests, admin and login with device, by accepting an AuthRequestType and passing it the the service. Also added to this page a check to perform a device trust on successful login. Master password also has a check to make the device trusted on successful login. ## Screenshots <!--Required for any UI changes. Delete if not applicable--> New Screen: <img width="436" alt="image" src="https://github.com/bitwarden/mobile/assets/4648522/788007a9-f8cc-441a-b807-2d04d1bf714a"> ## Before you submit - Please check for formatting errors (`dotnet format --verify-no-changes`) (required) - Please add **unit tests** where it makes sense to do so (encouraged but not required) - If this change requires a **documentation update** - notify the documentation team - If this change has particular **deployment requirements** - notify the DevOps team
GiteaMirror added the pull-request label 2025-11-26 23:36:01 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#3676