Shopify / ui-extensions

MIT License
260 stars 36 forks source link

Expose Navigator share method #2189

Open jaimeBEAM opened 1 month ago

jaimeBEAM commented 1 month ago

Please list the related package(s)

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 commented 1 month ago

Similarly, being able to access navigator.clipboard would be great.

edhgoose commented 1 month ago

We would strongly benefit from this too - and would appreciate it.