Skip to content

Auto-open desktop app via deep link using hidden iframe#4771

Open
yujonglee wants to merge 1 commit intomainfrom
deeplink-auto-open
Open

Auto-open desktop app via deep link using hidden iframe#4771
yujonglee wants to merge 1 commit intomainfrom
deeplink-auto-open

Conversation

@yujonglee
Copy link
Copy Markdown
Contributor

  • Extract shared DeeplinkPrompt component and useAutoDeeplink hook from duplicated code in auth/integration callback pages
  • Use hidden iframe technique on macOS to open custom URL schemes without triggering browser's "leave site?" dialog (ref: https://pepicrft.me/blog/deep-linking-into-macos-apps/)
  • Auto-trigger deep link on page load (e.g. after OAuth redirect) instead of requiring manual click, with fallback window.location.href on non-macOS

Signed-off-by: Yujong Lee <yujonglee.dev@gmail.com>
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 26, 2026

Deploy Preview for hyprnote canceled.

Name Link
🔨 Latest commit ac644dc
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote/deploys/69c5be8721212a0008beeb82

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 26, 2026

Deploy Preview for char-cli-web canceled.

Name Link
🔨 Latest commit ac644dc
🔍 Latest deploy log https://app.netlify.com/projects/char-cli-web/deploys/69c5be872198c6000807aade

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.

1 participant