docs: WebView integration guide for buyer-experience checkout#86
Open
walletconnect-agent[bot] wants to merge 6 commits into
Open
docs: WebView integration guide for buyer-experience checkout#86walletconnect-agent[bot] wants to merge 6 commits into
walletconnect-agent[bot] wants to merge 6 commits into
Conversation
Covers URL construction, query params (mode, callbackScheme, theme, themeVariables), JS bridge messages (WC_PAY_COMPLETE/CANCELLED/ERROR), and platform examples for Android/Kotlin, iOS/Swift, React Native, and Flutter. Wires page into both docs.json nav versions and updates the wallets overview.
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
…-examples#570 Fix param names (returnUrl, preferUniversalLinks — not mode/callbackScheme), message types (PAY_SUCCESS/PAY_FAILURE — not WC_PAY_*), add wallet deeplink interception pattern, update all four platform examples. Reference example links to the RN PR.
Contributor
Author
|
Updated with correct implementation details from reown-com/react-native-examples#570: Corrected from first draft:
All four platform examples (React Native, Android/Kotlin, iOS/Swift, Flutter) updated accordingly. |
| | Parameter | Required | Description | | ||
| |---|---|---| | ||
| | `returnUrl` | **Yes** | Your app's native deep link (e.g. `myapp://`). The checkout passes this to wallets as the return destination so the OS routes the user back after signing. | | ||
| | `preferUniversalLinks` | Recommended | Set to `1`. Tells the checkout to open wallets via universal links (`https://`) rather than custom URL schemes when both are available — more reliable on iOS. | |
Collaborator
There was a problem hiding this comment.
@WalletConnectBot preferUniversalLinks is mandatory too, if not, the dapp wont be able to open the wallet to start the connection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds documentation for the WebView rendering mode shipped in WalletConnect/buyer-experience#967.
What's in this PR
payments/wallets/webview.mdx— full integration guide covering:gatewayUrl+mode=webview,callbackScheme,theme,themeVariablesparams)WC_PAY_COMPLETE/WC_PAY_CANCELLED/WC_PAY_ERROR)callbackSchememanifest setup (Android + iOS)docs.json— page wired into both2026-02-18and2026-02-19.previewnav versions under "WalletConnect Pay for Wallets"payments/wallets/overview.mdx— new "WebView Integration" card added to the integration options sectionThe specific query parameter names (
mode,callbackScheme) and bridge message types (WC_PAY_COMPLETEetc.) are inferred from the existing IC-webview patterns and general convention — please verify them against the actual implementation in buyer-experience#967 and adjust before merging.Slack thread: https://walletconnect.slack.com/archives/C0A2MNBKUAC/p1784118273297959