Skip to main content

Share API

Use the navigator.share() method to share text and URLs from your app.

On desktop devices, navigator.share() uses the browser's built-in sharing functionality. See the navigator.share() documentation to learn more about browser support for this method.

On mobile devices, navigator.share() doesn't work natively inside the app's iframe. When you call this method from apps in Shopify Mobile or Shopify POS, App Bridge intercepts the method and invokes the native iOS or Android share sheet.

Sharing files using the files property isn't supported.

  • Content sharing: Share app content like reports or product details using the device's native share sheet.
  • Link sharing: Share deep links to specific app pages or Shopify resources with team members.
  • Social sharing: Enable merchants to share content to social media or messaging apps.
  • Collaboration: Share text and URLs with other apps on the merchant's device.

Was this page helpful?