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

Support sharing of URLs #229

Closed
ithinkihaveacat opened this issue Oct 24, 2016 · 5 comments
Closed

Support sharing of URLs #229

ithinkihaveacat opened this issue Oct 24, 2016 · 5 comments

Comments

@ithinkihaveacat
Copy link
Collaborator

ithinkihaveacat commented Oct 24, 2016

Via navigator.share() if available, with fallback to our own UI; see Introducing the Web Share API.

Fallback will probably want to use Cut and Copy commands. (Which possibly works on iOS too.)

@ithinkihaveacat
Copy link
Collaborator Author

(I've applied for an origin trial token.)

@ithinkihaveacat
Copy link
Collaborator Author

Also probably useful: https://github.com/zenorocha/clipboard.js

@juliantoledo juliantoledo modified the milestones: v1.0 - I'm a PWA!!, v0.2 - First Optimizations Nov 24, 2016
@juliantoledo juliantoledo modified the milestones: 0.1.4 More Optimizations, v0.1.3 - First Optimizations Jan 2, 2017
@samthor
Copy link
Contributor

samthor commented Jun 13, 2017

Unfortunately navigator.share is no longer being offered via Origin Trial, but may get launched properly in the future.

@juliantoledo
Copy link
Collaborator

@samthor @ithinkihaveacat Is there any other alternative we could use?

@ithinkihaveacat
Copy link
Collaborator Author

I think the origin trial was the only way to invoke the system share dialog on any platform. Without it, the best we can do is clipboard access.

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

No branches or pull requests

3 participants