Function: share()
ts
function share(filePath): Promise<ShareResult>;Open the system share sheet for a file.
Parameters
| Parameter | Type | Description |
|---|---|---|
filePath | string | Absolute path of the file. On Android it must be inside the library's output directories. |
Returns
Promise<ShareResult>
Whether the user completed the share.
Throws
Error synchronously when filePath is empty.