Share
The Share API allows you to invoke the "share sheet" to share content from your embedded app on an iOS or Android device.
For more information, see the navigator.share()
documentation. When using the navigator.share()
method in an embedded app, the files
value within the data
parameter is not supported.
Was this section helpful?
Share
try {
const shareData = {
text: 'Learn more about Shopify App Bridge',
url: 'https://shopify.dev/docs/api/app-bridge',
};
await navigator.share(shareData);
} catch (err) {
console.log('Share error', err);
}