From 5632f7906925aa052f331fa45de972eeec8e3e8a Mon Sep 17 00:00:00 2001 From: sohey Date: Fri, 17 Oct 2025 10:05:54 +0200 Subject: [PATCH 1/2] updated to show deeplinking --- docs/mini-apps/core-concepts/navigation.mdx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/mini-apps/core-concepts/navigation.mdx b/docs/mini-apps/core-concepts/navigation.mdx index 895d2b02..4c84e8dc 100644 --- a/docs/mini-apps/core-concepts/navigation.mdx +++ b/docs/mini-apps/core-concepts/navigation.mdx @@ -243,3 +243,13 @@ const ConditionalNavigation = () => { }; ``` +## Launching Mini Apps from External Sources + +### Deeplink Protocol +Use the `cbwallet://` deeplink protocol to launch your mini app directly from external sources like websites, QR codes, or other applications. + +```HTML + + Launch Mini App + +``` \ No newline at end of file From 34c6204ed7c8521b527b9c577fe789422bc01cf9 Mon Sep 17 00:00:00 2001 From: sohey Date: Fri, 17 Oct 2025 10:08:40 +0200 Subject: [PATCH 2/2] fixed auth --- docs/mini-apps/core-concepts/authentication.mdx | 2 +- docs/mini-apps/core-concepts/navigation.mdx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/mini-apps/core-concepts/authentication.mdx b/docs/mini-apps/core-concepts/authentication.mdx index 6857d3cc..1946e9ed 100644 --- a/docs/mini-apps/core-concepts/authentication.mdx +++ b/docs/mini-apps/core-concepts/authentication.mdx @@ -30,7 +30,7 @@ export function App() { async function signIn() { try { - const { token } = await sdk.actions.quickAuth(); + const { token } = await sdk.quickAuth.getToken(); setToken(token); // Use the token to authenticate the user and fetch authenticated user data diff --git a/docs/mini-apps/core-concepts/navigation.mdx b/docs/mini-apps/core-concepts/navigation.mdx index 4c84e8dc..1c561e22 100644 --- a/docs/mini-apps/core-concepts/navigation.mdx +++ b/docs/mini-apps/core-concepts/navigation.mdx @@ -246,10 +246,10 @@ const ConditionalNavigation = () => { ## Launching Mini Apps from External Sources ### Deeplink Protocol -Use the `cbwallet://` deeplink protocol to launch your mini app directly from external sources like websites, QR codes, or other applications. +Use the `cbwallet://miniapp?url=[YOUR_MINI_APP]` to launch your mini app directly from external sources like websites, QR codes, or other applications. ```HTML - + Launch Mini App ``` \ No newline at end of file