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

feat(share): Add canShare method to check availability #748

Merged
merged 1 commit into from
Jan 7, 2022

Conversation

jcesarmobile
Copy link
Member

At the moment we reject if share is not available and an user tries to share, but it would be more useful if they can check if sharing is available in the browser/device beforehand to show or hide sharing buttons accordingly.
iOS and Android just return true.

closes #747

@jcesarmobile jcesarmobile merged commit 3883d82 into main Jan 7, 2022
@jcesarmobile jcesarmobile deleted the canshare branch January 7, 2022 10:24
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 this pull request may close these issues.

Share.canShare
2 participants