Open a dialog to share text content.
In iOS, Returns a Promise which will be invoked an object containing
activityType. If the user dismissed the dialog, the Promise will still be resolved with action being
Share.dismissedAction and all the other keys being undefined. Note that some share options will not appear or work on the iOS simulator.
In Android, Returns a Promise which always be resolved with action being
message- a message to share
title- title of the message
url- an URL to share
At least one of URL and message is required.
subject- a subject to share via email
The content was successfully shared.
iOS Only. The dialog has been dismissed.