Skip to content

Conversation

@luhmirin-s
Copy link
Contributor

Will be released in: 2026.1.0

Notable changes

  • Cherry-picked the fixup commits from the 2025.4.0 branch.
  • Fixed major conflicts caused by the modality refactoring.

Testing guidance

  • General MDIF related regrerssions

Additional work checklist

  • Effect on other features and security has been considered
  • Design document marked as "In development" (if applicable)
  • External (Gitbook) and internal (Confluence) Documentation is up to date (or ticket created)
  • Test cases in Testiny are up to date (or ticket created)
  • Other teams notified about the changes (if applicable)

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR cherry-picks bug fixes from the 2025.4.0 release branch onto the main branch, resolving conflicts from the modality refactoring. The changes primarily address MDIF (Multi-Factor ID) related issues, including credential match prioritization, event tracking for external credential matches, and navigation flow improvements.

Changes:

  • Fixed credential match result prioritization to ensure external credential matches take precedence over direct biometric matches
  • Added event tracking for one-to-one match events during external credential verification
  • Improved back button handling in external credential flows

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
feature/orchestrator/src/main/java/com/simprints/feature/orchestrator/usecases/response/CreateIdentifyResponseUseCase.kt Refactored logic to prioritize credential matches over direct matches when returning identification results
feature/orchestrator/src/test/java/com/simprints/feature/orchestrator/usecases/response/CreateIdentifyResponseUseCaseTest.kt Added test for credential prioritization and updated existing test setup
feature/orchestrator/src/test/java/com/simprints/feature/orchestrator/cache/OrchestratorCacheIntegrationTest.kt Updated mock object to include new CredentialMatch fields
feature/external-credential/src/main/java/com/simprints/feature/externalcredential/usecase/ExternalCredentialEventTrackerUseCase.kt Added saveMatchEvent method to track one-to-one match events with fingerprint comparison strategy
feature/external-credential/src/main/java/com/simprints/feature/externalcredential/screens/search/usecase/MatchCandidatesUseCase.kt Integrated match event tracking into candidate matching flow
feature/external-credential/src/main/java/com/simprints/feature/externalcredential/screens/search/ExternalCredentialSearchViewModel.kt Fixed timing of search event tracking and cleaned up code formatting
feature/external-credential/src/main/java/com/simprints/feature/externalcredential/screens/select/ExternalCredentialSelectFragment.kt Added back button handler to trigger skip scanning action
feature/external-credential/src/main/java/com/simprints/feature/externalcredential/screens/controller/ExternalCredentialControllerFragment.kt Updated back button navigation logic for different credential screens
feature/external-credential/src/main/java/com/simprints/feature/externalcredential/model/CredentialMatch.kt Added probeReferenceId and matcherName fields to support event tracking
feature/external-credential/src/test/java/com/simprints/feature/externalcredential/usecase/ExternalCredentialEventTrackerUseCaseTest.kt Added tests for match event saving with face and fingerprint SDKs
feature/external-credential/src/test/java/com/simprints/feature/externalcredential/screens/search/usecase/MatchCandidatesUseCaseTest.kt Updated test setup and assertions to verify event tracking integration
feature/external-credential/src/main/java/com/simprints/feature/externalcredential/model/ExternalCredentialParams.kt Reordered imports (alphabetical)
feature/external-credential/src/main/java/com/simprints/feature/externalcredential/ExternalCredentialContract.kt Reordered imports (alphabetical)

@luhmirin-s luhmirin-s force-pushed the merge/2025.4.0-main branch 10 times, most recently from f10d2a0 to 1db2a50 Compare January 20, 2026 10:39
…he 'skip credential scan' screen. Except for any credential scan screen (#1497)
…al matches first, ignoring the confidence threshold (#1496)

* [MS-1271] Identification results now always return the MF-ID credential matches first, ignoring the confidence threshold. This way the callout app ˆcan display the credential holder GUIDs alongside their match score

* [MS-1271] Adding a test case covering scenario where both credential matches and 1:N matches are returned in the identification response. All credentials are also now properly sorted by confidence score DESC

* [MS-1271] Fixing tests
# Conflicts:
#	feature/orchestrator/src/main/java/com/simprints/feature/orchestrator/usecases/response/CreateIdentifyResponseUseCase.kt
#	feature/orchestrator/src/test/java/com/simprints/feature/orchestrator/usecases/response/CreateIdentifyResponseUseCaseTest.kt
* [MS-1290] Each credential match now produces a OneToOne event

* [MS-1290] Moving the OneToOne match events from ViewModel to the MatchCandidatesUseCase to properly reflect the start and end time
# Conflicts:
#	feature/external-credential/src/main/java/com/simprints/feature/externalcredential/model/CredentialMatch.kt
#	feature/external-credential/src/main/java/com/simprints/feature/externalcredential/screens/search/ExternalCredentialSearchViewModel.kt
#	feature/external-credential/src/main/java/com/simprints/feature/externalcredential/screens/search/usecase/MatchCandidatesUseCase.kt
#	feature/external-credential/src/main/java/com/simprints/feature/externalcredential/usecase/ExternalCredentialEventTrackerUseCase.kt
#	feature/external-credential/src/test/java/com/simprints/feature/externalcredential/screens/search/usecase/MatchCandidatesUseCaseTest.kt
#	feature/external-credential/src/test/java/com/simprints/feature/externalcredential/usecase/ExternalCredentialEventTrackerUseCaseTest.kt
#	feature/orchestrator/src/test/java/com/simprints/feature/orchestrator/cache/OrchestratorCacheIntegrationTest.kt
@sonarqubecloud
Copy link

@luhmirin-s luhmirin-s merged commit 4831c14 into main Jan 22, 2026
14 checks passed
@luhmirin-s luhmirin-s deleted the merge/2025.4.0-main branch January 22, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants