Share into app
Allow users to share URLs from any app directly into your app using the native Share Sheet or Share Menu on iOS and Android. Once configured, your app will appear as a target option when a user shares a URL on their device.
This integration is ideal for social apps, bookmarking tools, productivity platforms, or any app that benefits from deep linking shared content.
Developer Demo
Display our demo page in your app to test during development https://median.dev/share-into-app/
iOS Configuration
For iOS you will need to add an App Group identifier to the Share into app native plugin configuration. In most cases, this value is the iOS Bundle ID for your app as registered within your Apple Developer Account.
You will also need to setup the URL scheme protocol. You can find this setting in the Link Handling section in the App Studio.
Implementation Guide
Define a JavaScript function on your website median_share_to_app(data)
. When a user selects your app from the system share sheet with a webpage URL, your app will launch and invoke the JavaScript function - median_share_to_app(data)
. This allows you to capture and use the shared data, such as the URL and page title/shared text.
function median_share_to_app(data) {
alert(data.url); // Shared URL
alert(data.subject); // Page title or shared text
}


Demo App
You can test the full share flow using our virtual demo app on iOS and Android simulators.
Demo Instructions
- Open any webpage (e.g., median.co) in the mobile browser.
- Tap the browserโs Share or Send to menu.
- Select the Share into App Demo from the list of target apps.
- The demo app will launch and invoke the JavaScript callback with the shared URL and metadata.
iOS | Android |
Updated 3 months ago