feat: open shared links in the mobile app and share artwork #67

Merged
joshuafhiggins merged 4 commits from t3/mobile-deep-links-share-art into main 2026-11-03 21:06:33 -05:00
Owner

Shared album, artist, and playlist pages could not open the mobile app, and mobile link shares lacked media titles and artwork.

Adds an Open App header action using otunes:// with the server and media URL. It works with self-hosted domains without association files or per-server signing settings, preserves the destination through setup and sign-in, and rejects links for a different configured server. Native sharing supplies media titles and artwork previews while keeping the shared item a URL. Names match the web pages, including Song - Album for song previews.

Validation:

  • Android emulator: web-to-app album handoff, server prefill and sign-in continuation, artist routing, and album/artist artwork previews.
  • Android APK build, workspace typechecks, targeted web ESLint, six existing App Intent tests, and 13 ad-hoc routing/subscription checks passed.
  • Swift syntax check passed. iOS runtime behavior has not been verified.
  • Media-title follow-up: mobile typecheck, Android build, Swift syntax, and share-payload checks for all four media types passed. The updated share-sheet UI was not recaptured because the emulator was in use by another session.

Web-to-app recording · Artwork sharing recording

Screenshots from the artwork validation, before media titles were added

Open App in the web header

Album artwork in Android sharing

Artist artwork preview · Server address prefilled from the link

Created with gpt-6.1-sol in T3 Code using the Codex harness.

Shared album, artist, and playlist pages could not open the mobile app, and mobile link shares lacked media titles and artwork. Adds an **Open App** header action using `otunes://` with the server and media URL. It works with self-hosted domains without association files or per-server signing settings, preserves the destination through setup and sign-in, and rejects links for a different configured server. Native sharing supplies media titles and artwork previews while keeping the shared item a URL. Names match the web pages, including `Song - Album` for song previews. Validation: - Android emulator: web-to-app album handoff, server prefill and sign-in continuation, artist routing, and album/artist artwork previews. - Android APK build, workspace typechecks, targeted web ESLint, six existing App Intent tests, and 13 ad-hoc routing/subscription checks passed. - Swift syntax check passed. iOS runtime behavior has not been verified. - Media-title follow-up: mobile typecheck, Android build, Swift syntax, and share-payload checks for all four media types passed. The updated share-sheet UI was not recaptured because the emulator was in use by another session. [Web-to-app recording](https://files.gitcoffee.dev/files/web-to-app-eucidt55uompq8hy.mp4) · [Artwork sharing recording](https://files.gitcoffee.dev/files/artwork-share-fafdbtwduffqj3mu.mp4) <details> <summary>Screenshots from the artwork validation, before media titles were added</summary> ![Open App in the web header](https://files.gitcoffee.dev/files/web-open-app-dark-gxfiqtupx6v7f00l.png) ![Album artwork in Android sharing](https://files.gitcoffee.dev/files/album-share-fixed-6sbanwjnaimzlbdj.png) [Artist artwork preview](https://files.gitcoffee.dev/files/artist-share-si3q9ykazmntkegk.png) · [Server address prefilled from the link](https://files.gitcoffee.dev/files/server-prefill-1ovokd6q7iipnox6.png) </details> Created with gpt-6.1-sol in T3 Code using the Codex harness.
joshuafhiggins added 3 commits 2026-11-03 17:36:02 -05:00
joshuafhiggins added 1 commit 2026-11-03 21:02:37 -05:00
joshuafhiggins merged commit 3381355d8a into main 2026-11-03 21:06:33 -05:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: joshuafhiggins/otunes#67