Skip to content

RQES: Document Retrieval Flow #315

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

stzouvaras
Copy link
Member

Description of changes

RQES: Document Retrieval Flow

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Other fix (maintenance or house-keeping)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test suite run successfully
  • Added Tests ()

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the readme
  • My changes generate no new warnings
  • I have added unit tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have checked that my views are accessible
  • I have checked that my strings are localized where applicable

- Added `QrScanFlow.Signature` to support the signature flow.
- Updated `QrScanViewModel` to handle the signature flow and navigate to RQES SDK.
- Updated `HomeScreen` to include a new "Sign Document" bottom sheet with options to select a file or scan a QR code.
- Added a new "Sign Document" QR scan screen for the signature flow.
- Modified `HomeViewModel` to handle new events related to signing documents.
- Updated strings and added new QR scanning content for signature.
- Updated `DocumentSignInteractor` to launch RQES SDK with `DocumentUri`.
- Added RQES SDK document retrieval support using x509 certificates.
- Upgraded `rqesUiSDK` version to `0.2.0.9-SNAPSHOT`.
- Updated dependency versions and fixed build issues.
- Updated the `DocumentSignViewModel` to handle file selection.
- Added logic to handle rqes document retrieval deeplink.
- Added a `rp_certificate.cer` for document retrieval.
- Moved the logic for launching the RQES SDK into `QrScanInteractor` and renamed `launchRQESSdk` to `launchRqesSdk`.
- `QrScanViewModel` and `DocumentSignViewModel` now delegate the launch action to the `QrScanInteractor` and `DocumentSignInteractor` respectively.
- `QrScanInteractorImpl` handles the actual `EudiRQESUi.initiate` call.
- Changed the `QrScanInteractor` and `DocumentSignInteractor` to accept the remote URI as `Uri` instead of `String`.
- Removed unused `RemoteUri` and `EudiRQESUi` imports from `QrScanViewModel`.
- Changed `DocumentSignInteractor` to use `DocumentUri` when launching the SDK.
- Updated `rqesUiSDK` version to `0.2.0.13-SNAPSHOT` in `libs.versions.toml`.
- Removed the certificate validation logic from `RQESConfigImpl` in both `dev` and `demo` flavors, setting `documentRetrievalConfig` to `DocumentRetrievalConfig.NoValidation`.
- Deleted the `rp_certificate.cer` file as certificate validation is no longer used.
@stzouvaras stzouvaras requested a review from a team as a code owner April 3, 2025 19:12
@stzouvaras stzouvaras linked an issue Apr 3, 2025 that may be closed by this pull request
@stzouvaras stzouvaras merged commit f5fb961 into eu-digital-identity-wallet:main Apr 3, 2025
2 checks passed
@stzouvaras stzouvaras deleted the feature/rqes_remote_document_retrieval branch April 3, 2025 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RQES Remote Signing (QR Code)
1 participant