Accept shared
content.
Web Share Target lets your PWA appear in the native share sheet alongside native apps. Users can share a link from Chrome, a photo from their camera roll, or a document from their file manager — and your app receives it directly. pageflare adds the share_target field to your manifest with no backend changes required.
Every share type,
handled.
Receive Text & URLs
When a user shares a URL or text snippet to your app, pageflare routes it to the URL you specify as a query parameter. Your page reads the shared content from the URL and handles it — no service worker interception needed.
Receive Files
For file shares — images, PDFs, documents — the share_target entry specifies a POST endpoint and the enctype. Your app receives the file as a multipart form upload. pageflare sets up the manifest entry; your app handles the file.
File Type Configuration
Specify exactly which MIME types and file extensions your app accepts in the share_target files array. pageflare writes the correct accept config so your app only appears in the share sheet for relevant content types.
Manifest Integration
The share_target field is part of your manifest.json. pageflare adds it alongside your icons, display mode, and screenshots — all managed from one dashboard, versioned and deployed atomically.
Configure. Install.
Receive.
Configure your share target
In the pageflare dashboard, enable Web Share Target and specify your action URL, query parameter names for title/text/url, and optionally the file types you want to accept.
Publish to manifest
pageflare adds the share_target field to your manifest.json. The updated manifest is served from the edge immediately — installed users pick it up on the next service worker update.
Handle shared content
Your app reads the shared data from the URL query parameters (or from the POST body for files) and handles it. pageflare provides a JavaScript helper that parses the incoming share payload cleanly.
Part of the share sheet. Start free.
Install the CLI, point it at your build output, and see results in under two seconds.