As requested in [IMPORTANT] Stop creating issues here, use the Shopify Community forum instead · Issue #2521 · Shopify/ui-extensions · GitHub, I am re-raising this issue.
Please find below the details of Expose Navigator share method · Issue #2189 · Shopify/ui-extensions · GitHub
Please list the related package(s)
- checkout-ui-extensions
- checkout-ui-extensions-react
If this related to specific APIs or components, please list them here
N/A
Is your feature request related to a problem? Please describe.
Our org is currently migrating to checkout extensibility and one of the features we’re trying to replicate is the ability to share content using the Navigator interface built into web browsers. I understand extensions run on workers so we’re very limited in what we can access. Still, it would be great to be able to have access to a component or API that allows us to open the share dialog on mobile devices. If not the Navigator
share method, it would be nice to have a way to use share buttons that can open native apps on both iOS and Android.
Describe the changes you are looking for
I am looking for a way for users to share text and images via social media using browser-provided APIs such as the Navigator interface.
Describe alternatives you’ve considered
I considered using iOS universal links but that seems pretty limited as far as sharing content goes
Additional context
kpeatt also requested access to navigator.clipboard