Social Sharing
Sharing is Caring
NatShare is primarily built around social sharing. The SharePayload
exposes this functionality, allowing you to share content to other apps using the native sharing UI. To begin, create a payload:
The payload acts as a write-only collection of items to be shared. Shareable items include plain text, images (Texture2D
objects), and media files (referenced by their file paths).
Once all the items have been added to the payload, it can be committed to the operating system for sharing:
NatShare supports reporting the app ID of the receiving app that was chosen by the user:
Last updated