music on atproto
plyr.fm
research: Web Share Target API for iOS PWAs#
date: 2025-12-19 question: can a PWA receive shared audio files from the iOS share sheet (like SoundCloud does)?
summary#
No, iOS Safari does not support Web Share Target API. This is a known limitation with an open WebKit bug (#194593) since February 2019 - no timeline for implementation. Android Chrome fully supports it. The SoundCloud iOS share integration you saw works because SoundCloud has a native iOS app, not a PWA.
findings#
iOS Safari limitations#
- Web Share Target API (receiving files) - NOT supported
- Web Share API (sending/sharing out) - supported
- WebKit bug #194593 tracks this, last activity May 2025, no assignee
- Apple mandates WebKit for all iOS browsers, so no workaround via Chrome/Firefox
- This is why plyr.fm can't appear in the iOS share sheet as a destination
Android support#
- Chrome fully supports Web Share Target since ~2019
- manifest.json
share_targetfield enables receiving shared files - Would work for Android users installing plyr.fm PWA
current plyr.fm state#
frontend/static/manifest.webmanifest- basic PWA config, no share_targetfrontend/src/lib/components/ShareButton.svelte- clipboard copy only- no
navigator.share()usage (even though iOS supports sharing OUT)
workaround options#
- native iOS app - only real solution for iOS share sheet integration
- Web Share API for outbound - can add "share to..." button that opens iOS share sheet
- improved in-app UX - better upload flow, drag-drop on desktop
- PWABuilder wrapper - publish to App Store, gains URL scheme support
code references#
frontend/static/manifest.webmanifest- would addshare_targethere for Androidfrontend/src/lib/components/ShareButton.svelte:8-15- current clipboard-only implementation
potential quick wins#
even without iOS share target support:
- add navigator.share() for outbound sharing - let users share tracks TO other apps via native share sheet
- add share_target for Android users - Android PWA installs would get share sheet integration
- improve upload UX - streamline the in-app upload flow for mobile
open questions#
- is Android share target support worth implementing given iOS is primary user base?
- would a lightweight native iOS app (just for share extension) be worth maintaining?
- any appetite for PWABuilder/App Store distribution?