@@ -8,7 +8,7 @@ shared data from other sites or apps. Many modern operating systems have a
88The goal is to allow web apps to appear in the UI for picking an app to share
99to.
1010
11- In combination with the [ Web Share API] ( https://github.com/mgiuca /web-share )
11+ In combination with the [ Web Share API] ( https://github.com/WICG /web-share )
1212(being proposed in parallel), this would allow cross-sharing between websites on
1313any platform (even those without a native sharing system).
1414
@@ -56,7 +56,7 @@ underlying system, as explored in the next section.
5656### Sharing from web to web on mobile
5757
5858Here we see the interaction between the [ Web Share
59- API] ( https://github.com/mgiuca /web-share ) and the Share Target API. You could
59+ API] ( https://github.com/WICG /web-share ) and the Share Target API. You could
6060also share from a native app (depending on the system).
6161
6262![ Share on mobile: web to web] ( mocks/share_mobile_web_web.png )
@@ -96,6 +96,10 @@ At least on Android, the web apps will be badged with the browser's icon.
9696For more technical details on integrating with native apps, see [ Native
9797Integration Story] ( native.md ) .
9898
99+ Users may wish to share photos and other files, not just links. We aim
100+ to support this in the future, with web share targets able to specify
101+ in their manifests which MIME types they accept.
102+
99103## Sample code
100104
101105Here's how to register a website to appear in the list of apps that can handle a
@@ -161,11 +165,11 @@ native apps.
161165### Why not use registerProtocolHandler?
162166
163167This is discussed at length in the [ Web Share
164- Explainer] ( https://github.com/mgiuca /web-share/blob/master/docs/explainer.md ) ,
165- and depends on the outcome of that decision. If we use a URI scheme for Share
166- (instead of an API), then it would make sense to use the existing
168+ Explainer] ( https://github.com/WICG /web-share/blob/master/docs/explainer.md#user-content-why-not-make-a-share-uri-scheme-like-mailto-instead-of-a-javascript-api ) .
169+ If we used a URI scheme for Share (instead of an API), then it would make sense
170+ to use the existing
167171[ registerProtocolHandler] ( https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler )
168172API to let websites receive shares.
169173
170174However, there are a number of downsides to this approach, discussed in the
171- other document. This is an open question.
175+ other document.
0 commit comments