Skip to content

Add support for Digital Credentials on iOS#416

Open
gp-iaik wants to merge 94 commits intodevelopmentfrom
feature/ios_digital_credentials
Open

Add support for Digital Credentials on iOS#416
gp-iaik wants to merge 94 commits intodevelopmentfrom
feature/ios_digital_credentials

Conversation

@gp-iaik
Copy link
Copy Markdown
Collaborator

@gp-iaik gp-iaik commented Dec 19, 2025

Closes #163
Requires a-sit-plus/vck#538
Closes #432

@gp-iaik gp-iaik self-assigned this Dec 19, 2025
@gp-iaik gp-iaik force-pushed the feature/ios_digital_credentials branch from 2aaaf57 to c146b7f Compare December 21, 2025 22:14
@gp-iaik gp-iaik force-pushed the feature/ios_digital_credentials branch 3 times, most recently from 9417aae to 1f27b75 Compare January 19, 2026 14:33
@gp-iaik
Copy link
Copy Markdown
Collaborator Author

gp-iaik commented Jan 22, 2026

Requires update of multipaz to latest release

Comment thread cinterop/DigitalCredentials/DigitalCredentials.swift Outdated
Comment thread iosApp/iosApp/ContentView.swift Outdated
Comment thread shared/src/androidMain/kotlin/matcher/Request.cpp
Comment thread shared/src/iosMain/kotlin/OsLogAntilog.kt Outdated
@gp-iaik gp-iaik force-pushed the feature/ios_digital_credentials branch from bcf68cd to 74b5d3c Compare February 2, 2026 14:11
@gp-iaik
Copy link
Copy Markdown
Collaborator Author

gp-iaik commented Feb 23, 2026

TODO: fix proximity

@nodh
Copy link
Copy Markdown
Member

nodh commented Apr 7, 2026

@gp-iaik Task :shared:linkDebugTestIosSimulatorArm64 FAILED in https://github.com/a-sit-plus/valera/actions/runs/23798931309/job/69353598670?pr=416

@nodh
Copy link
Copy Markdown
Member

nodh commented Apr 7, 2026

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

onSuccess = {
navigateBack()
},

P1 Badge Use provisioning success route returned by the view model

ProvisioningIntentViewModel now returns AddCredentialDcApiSuccessRoute when a DC API issuance request is pending, but this callback ignores the returned route and always executes navigateBack(). For issuance flows completed after OAuth redirect, the success route is never shown, so the code path that returns a successful issuance response to the calling app is skipped.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread shared/src/commonMain/kotlin/ui/navigation/WalletNavigation.kt
Comment thread shared/src/iosMain/kotlin/data/storage/DataStore.ios.kt Outdated
@gp-iaik
Copy link
Copy Markdown
Collaborator Author

gp-iaik commented Apr 7, 2026

@gp-iaik Task :shared:linkDebugTestIosSimulatorArm64 FAILED in https://github.com/a-sit-plus/valera/actions/runs/23798931309/job/69353598670?pr=416

@n0900 is working on it

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

1 similar comment
@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@gp-iaik gp-iaik force-pushed the feature/ios_digital_credentials branch from 1d30bcf to 8ec30d7 Compare April 10, 2026 12:36
@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

1 similar comment
@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@gp-iaik gp-iaik force-pushed the feature/ios_digital_credentials branch from e28777d to a993ff3 Compare April 14, 2026 11:00
@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@gp-iaik gp-iaik force-pushed the feature/ios_digital_credentials branch from a993ff3 to 41c94d1 Compare April 14, 2026 11:03
@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@gp-iaik gp-iaik force-pushed the feature/ios_digital_credentials branch from 41c94d1 to 620b43d Compare April 14, 2026 11:14
@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

Comment thread interop/build.gradle.kts
kotlin {
val isMacHost = System.getProperty("os.name").lowercase().contains("mac")
val developerDir = if (isMacHost) {
project.providers.environmentVariable("DEVELOPER_DIR")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What value would I need to set here?

Copy link
Copy Markdown
Collaborator Author

@gp-iaik gp-iaik Apr 14, 2026

Choose a reason for hiding this comment

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

This can be set to the Xcode directory, as shown in the examples at https://manpagez.com/man/1/xcode-select/

@nodh
Copy link
Copy Markdown
Member

nodh commented Apr 14, 2026

@codex review

@gp-iaik
Copy link
Copy Markdown
Collaborator Author

gp-iaik commented Apr 14, 2026

Still not building because linking of the Multipaz interop bridge fails :(

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 620b43daf1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +37 to +38
onAcknowledge = {
walletMain.platformAdapter.prepareDCAPICredentialResponse(response, false)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Send DCAPI failure response on every error-screen exit

prepareDCAPICredentialResponse(..., false) is now deferred into onAcknowledge, but that callback only runs when the user presses the error dialog button (ErrorViewModel wires it into onClickButton only). If a DCAPI error screen is dismissed via system back/gesture or another non-button exit path, no response is returned to the invoker, leaving the external request pending until timeout. This is especially visible in invocation flows where the caller expects an explicit failure callback.

Useful? React with 👍 / 👎.

steps:
- name: Common setup
uses: a-sit-plus/internal-workflows/.github/actions/common-setup@v2
uses: a-sit-plus/internal-workflows/.github/actions/common-setup@feature/bumpXcode
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Pin internal workflow actions to an immutable ref

Switching reusable actions from a version tag to @feature/bumpXcode makes CI behavior non-deterministic because that branch can be force-pushed or deleted. A change outside this repo can silently alter or break release/test pipelines; using a tag or commit SHA keeps workflow execution reproducible and prevents unexpected pipeline regressions.

Useful? React with 👍 / 👎.

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.

2 participants