@nativescript-community/ui-share-file
Version:
Send/share file to other apps.
19 lines (18 loc) • 346 B
TypeScript
export interface ShareOptions {
path: string;
rect?: {
x;
y;
width;
height;
};
animated?: boolean;
options?: boolean;
title?: string;
type?: string;
// android only
dontGrantReadUri?: boolean;
}
export declare class ShareFile {
open(args: ShareOptions): Promise<boolean>;
}