[PR #3174] [MERGED] [PM-7623] Fix proper implementation of IFido2GetAssertionUserInterface Android #34572

Closed
opened 2026-04-21 02:07:16 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/3174
Author: @fedemkr
Created: 4/19/2024
Status: Merged
Merged: 4/22/2024
Merged by: @fedemkr

Base: feature/maui-migration-passkeysHead: mobiletf/pm-7623/fix-uv-implementing-fido2getuserinterface-on-clientservice


📝 Commits (2)

  • 13263b2 PM-7623 Fix proper implementation of IFido2GetAssertionUserInterface now that the Fido2ClientService is being used for passkey autofill
  • 82ef2e1 Merge branch 'feature/maui-migration-passkeys' into mobiletf/pm-7623/fix-uv-implementing-fido2getuserinterface-on-clientservice

📊 Changes

4 files changed (+99 additions, -53 deletions)

View changed files

📝 src/App/Platforms/Android/Autofill/CredentialProviderSelectionActivity.cs (+9 -39)
📝 src/App/Platforms/Android/Autofill/Fido2GetAssertionUserInterface.cs (+64 -8)
📝 src/App/Platforms/Android/MainApplication.cs (+8 -1)
📝 src/Core/Utilities/Fido2/Fido2GetAssertionUserInterface.cs (+18 -5)

📄 Description

Type of change

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

Objective

Fix proper implementation of IFido2GetAssertionUserInterface Android

Code changes

  • Fido2GetAssertionUserInterface: Implemented this interface correctly, adding an Init(...) method to initialize the things in this singleton for every fido2 request. Moved ensure vault unlocked and user verification here as well instead of on the activity.
  • Others: Updated to use the new interface correctly

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

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bitwarden/android/pull/3174 **Author:** [@fedemkr](https://github.com/fedemkr) **Created:** 4/19/2024 **Status:** ✅ Merged **Merged:** 4/22/2024 **Merged by:** [@fedemkr](https://github.com/fedemkr) **Base:** `feature/maui-migration-passkeys` ← **Head:** `mobiletf/pm-7623/fix-uv-implementing-fido2getuserinterface-on-clientservice` --- ### 📝 Commits (2) - [`13263b2`](https://github.com/bitwarden/android/commit/13263b29f9c162b1e2fc9e586bf7e5a2f0bd2ac1) PM-7623 Fix proper implementation of IFido2GetAssertionUserInterface now that the Fido2ClientService is being used for passkey autofill - [`82ef2e1`](https://github.com/bitwarden/android/commit/82ef2e10dc7ce5a156bf68859c60f37ab0e30129) Merge branch 'feature/maui-migration-passkeys' into mobiletf/pm-7623/fix-uv-implementing-fido2getuserinterface-on-clientservice ### 📊 Changes **4 files changed** (+99 additions, -53 deletions) <details> <summary>View changed files</summary> 📝 `src/App/Platforms/Android/Autofill/CredentialProviderSelectionActivity.cs` (+9 -39) 📝 `src/App/Platforms/Android/Autofill/Fido2GetAssertionUserInterface.cs` (+64 -8) 📝 `src/App/Platforms/Android/MainApplication.cs` (+8 -1) 📝 `src/Core/Utilities/Fido2/Fido2GetAssertionUserInterface.cs` (+18 -5) </details> ### 📄 Description ## Type of change - [X] Bug fix - [ ] 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--> Fix proper implementation of IFido2GetAssertionUserInterface Android ## 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--> * **Fido2GetAssertionUserInterface:** Implemented this interface correctly, adding an `Init(...)` method to initialize the things in this singleton for every fido2 request. Moved ensure vault unlocked and user verification here as well instead of on the activity. * **Others:** Updated to use the new interface correctly ## 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-21 02:07:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#34572