Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use navigator.share for native share sheet #42

Closed
cassidyjames opened this issue Oct 27, 2020 · 0 comments · Fixed by #45
Closed

Use navigator.share for native share sheet #42

cassidyjames opened this issue Oct 27, 2020 · 0 comments · Fixed by #45

Comments

@cassidyjames
Copy link
Contributor

Problem

Right now we have a permalink for sharing each post in its footer. But it's not obvious how to share this link easily on mobile.

Proposal

Use navigator.share, which is supported on mobile. We can trivially fall back to the existing behavior when unsupported.

Prior Art

I just implemented this at the Blaede Family Recipes: https://blaede.family/recipes/banana-bread/

Docs: https://web.dev/web-share/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant