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

register as share target #55

Open
jimmywarting opened this issue Aug 13, 2020 · 1 comment
Open

register as share target #55

jimmywarting opened this issue Aug 13, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@jimmywarting
Copy link

jimmywarting commented Aug 13, 2020

Think it would be grate if there where a method to register as a share target using web manifest.json
share polyfill looks at the manifest to see if there is any such config in there, register it in some centralized localStorage origin which communicates throught postMessage+iframe. all sites that you then visit automatically becomes available as a share target then.

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

@rsip22 rsip22 added the enhancement New feature or request label Mar 5, 2022
@syonfox
Copy link

syonfox commented Jun 11, 2022

Hi Just pulled an all nigher getting this up and running

Could use a code review and some more work done to support files and reading manifest files or something. as well as a litle refingment and documentations.

But it lets you configure the ShareTargets in a manifest like way for your app.

https://github.com/syonfox/share-api-polyfill

https://syonfox.github.io/share-api-polyfill/docs/ShareTarget.html

Lastly I have not re-implemented all of the share targets yet but have added a few. notably gmail and yahoo

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

No branches or pull requests

3 participants