Skip to content

[codex] Preserve dapp launch parameters#29

Draft
Jim8y wants to merge 1 commit into
neoorder:masterfrom
Jim8y:codex/fix-dapp-launch-params
Draft

[codex] Preserve dapp launch parameters#29
Jim8y wants to merge 1 commit into
neoorder:masterfrom
Jim8y:codex/fix-dapp-launch-params

Conversation

@Jim8y
Copy link
Copy Markdown

@Jim8y Jim8y commented May 6, 2026

Summary

  • Add a shared dApp launch URI helper for OneGate app-link validation and parameter merging.
  • Preserve query strings and fragments from OneGate QR/deep links when opening the real dApp URL.
  • Keep pasted https://onegate.space/app/{id}?… links in dApp search from dropping launch parameters.

Root Cause

The QR/deep-link path carried the original URI in some Android cases, but final WebView URL construction only appended uri.Query directly and ignored fragments or existing dApp query strings. Search results also converted app links back to plain DApp objects, losing the original launch URI.

Validation

  • git diff --check
  • dotnet build OneGateApp/OneGateApp.csproj -f net10.0-android
  • dotnet build OneGateApp/OneGateApp.csproj -f net10.0-maccatalyst -p:ValidateXcodeVersion=false

Note: MacCatalyst build succeeds with the existing local provisioning-profile warning for associated domains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant