Skip to content

Commit 857fe5c

Browse files
committed
docs/native: Updated for macOS and Windows 10 share APIs.
1 parent a10dc52 commit 857fe5c

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

docs/native.md

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Web Share API: Native Integration Survey
22

3-
**Date**: 2016-06-06
3+
**Date**: 2016-06-06 (authored), 2017-06-22 (updated)
44

55
This document is an informal and incomplete survey of various operating systems'
66
sharing systems, for exploring how a user agent might automatically map the
@@ -36,27 +36,29 @@ APIs. I would appreciate being informed of any errors.
3636
[UIActivityItemSource](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIActivityItemSource_protocol/index.html)
3737
protocol.
3838

39-
## Windows (Universal Windows Platform)
39+
## macOS
4040

41-
* [Universal Windows Platform
42-
(UWP)](https://msdn.microsoft.com/en-us/windows/uwp/get-started/whats-a-uwp)
43-
is supported on Windows 10 mobile, desktop, Xbox, etc.
44-
* UWP APIs are not available to normal Win32 .exe applications. This will only
45-
be available for user agents that are UWP apps (e.g., Microsoft Edge is,
46-
Google Chrome isn't).
47-
* Windows 8, 8.1 have similar share APIs but unclear whether compatible with
48-
the Windows 10 ones.
49-
* UWP apps can initiate a "Share contract" to share to another UWP app. UX:
50-
Shows a modal share target picker on the right hand side of the screen (at
51-
least on desktop Windows 10).
41+
* [NSSharingService](https://developer.apple.com/documentation/appkit/nssharingservice)
42+
allows apps to trigger a share dialog, with a similar API to iOS.
43+
* Available in macOS 10.8 and up.
44+
45+
## Windows
46+
47+
* Apps can initiate a "Share contract" to share to another Windows app. UX:
48+
Shows a modal share target picker on the right hand side of the screen.
5249
* [Share
5350
API](https://msdn.microsoft.com/en-us/windows/uwp/app-to-app/share-data):
5451
Create a DataRequest object and put data into it (multiple data types can be
5552
placed into the request object). Can optionally negotiate with the receiver
5653
about which data to send (Share API implementations would likely ignore this
5754
and just put all the data from the requester into the object).
55+
* Available in Windows 10 and up.
56+
* Available only to [Universal Windows Platform
57+
(UWP)](https://msdn.microsoft.com/en-us/windows/uwp/get-started/whats-a-uwp)
58+
apps. This API is **not** available to normal Win32 .exe applications. This
59+
will only be available to user agents that are UWP apps (e.g., Microsoft Edge
60+
is, Google Chrome isn't).
5861

5962
## Others
6063

61-
* No known native share mechanism on Windows (<=7), Mac, Linux (Desktop), Chrome
62-
OS.
64+
* No known native share mechanism on Linux (Desktop), Chrome OS.

0 commit comments

Comments
 (0)