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

how about sharing files? #56

Open
jimmywarting opened this issue Aug 13, 2020 · 0 comments
Open

how about sharing files? #56

jimmywarting opened this issue Aug 13, 2020 · 0 comments

Comments

@jimmywarting
Copy link

jimmywarting commented Aug 13, 2020

One must register a service worker and register a fetch handler that can take care of them...

if a share polyfill sees that example.com have registered as a share target but don't have the service worker installed, the share polyfill must then create a hidden iframe to something like example.com/install-sw.html to pre install it and then create a POST with those files

https://web.dev/web-share-target/#accepting-files

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

No branches or pull requests

1 participant