|
1 | 1 | export interface Attachment {
|
2 |
| - /** |
3 |
| - * The name used for the attachment. |
4 |
| - * Example: |
5 |
| - * |
6 |
| - * fileName: 'Cute-Kitten.png' |
7 |
| - */ |
8 |
| - fileName: string; |
| 2 | + /** |
| 3 | + * The name used for the attachment. |
| 4 | + * Example: |
| 5 | + * |
| 6 | + * fileName: 'Cute-Kitten.png' |
| 7 | + */ |
| 8 | + fileName: string; |
9 | 9 |
|
10 |
| - /** |
11 |
| - * There are various ways to use the path param: |
12 |
| - * |
13 |
| - * - base64 encoded: 'base64://iVBORw..XYZ' |
14 |
| - * - local app folder 'file://.. |
15 |
| - * - anywhere on the device: 'file:///..' |
16 |
| - * - or '/some/path/to/file.png' |
17 |
| - */ |
18 |
| - path: string; |
| 10 | + /** |
| 11 | + * There are various ways to use the path param: |
| 12 | + * |
| 13 | + * - base64 encoded: 'base64://iVBORw..XYZ' |
| 14 | + * - local app folder 'file://.. |
| 15 | + * - anywhere on the device: 'file:///..' |
| 16 | + * - or '/some/path/to/file.png' |
| 17 | + */ |
| 18 | + path: string; |
19 | 19 |
|
20 |
| - /** |
21 |
| - * Used to help the iOS figure out how to send the file (not used on Android). |
22 |
| - * Example: |
23 |
| - * |
24 |
| - * mimeType: 'image/png' |
25 |
| - */ |
26 |
| - mimeType: string; |
| 20 | + /** |
| 21 | + * Used to help the iOS figure out how to send the file (not used on Android). |
| 22 | + * Example: |
| 23 | + * |
| 24 | + * mimeType: 'image/png' |
| 25 | + */ |
| 26 | + mimeType: string; |
27 | 27 | }
|
28 | 28 |
|
29 | 29 | /**
|
30 | 30 | * The options object passed into the compose function.
|
31 | 31 | */
|
32 | 32 | export interface ComposeOptions {
|
33 |
| - /** |
34 |
| - * The subject of your email. |
35 |
| - */ |
36 |
| - subject?: string; |
| 33 | + /** |
| 34 | + * The subject of your email. |
| 35 | + */ |
| 36 | + subject?: string; |
37 | 37 |
|
38 |
| - /** |
39 |
| - * The plugin will automatically handle plain and html email content. |
40 |
| - */ |
41 |
| - body?: string; |
| 38 | + /** |
| 39 | + * The plugin will automatically handle plain and html email content. |
| 40 | + */ |
| 41 | + body?: string; |
42 | 42 |
|
43 |
| - /** |
44 |
| - * A string array of email addresses. |
45 |
| - * Known issue: on Android only the first item in the array is added. |
46 |
| - */ |
47 |
| - to?: string[]; |
| 43 | + /** |
| 44 | + * A string array of email addresses. |
| 45 | + * Known issue: on Android only the first item in the array is added. |
| 46 | + */ |
| 47 | + to?: string[]; |
48 | 48 |
|
49 |
| - /** |
50 |
| - * A string array of email addresses. |
51 |
| - * Known issue: on Android only the first item in the array is added. |
52 |
| - */ |
53 |
| - cc?: string[]; |
| 49 | + /** |
| 50 | + * A string array of email addresses. |
| 51 | + * Known issue: on Android only the first item in the array is added. |
| 52 | + */ |
| 53 | + cc?: string[]; |
54 | 54 |
|
55 |
| - /** |
56 |
| - * A string array of email addresses. |
57 |
| - * Known issue: on Android only the first item in the array is added. |
58 |
| - */ |
59 |
| - bcc?: string[]; |
| 55 | + /** |
| 56 | + * A string array of email addresses. |
| 57 | + * Known issue: on Android only the first item in the array is added. |
| 58 | + */ |
| 59 | + bcc?: string[]; |
60 | 60 |
|
61 |
| - /** |
62 |
| - * An optional Array of attachments. |
63 |
| - */ |
64 |
| - attachments?: Array<Attachment>; |
| 61 | + /** |
| 62 | + * An optional Array of attachments. |
| 63 | + */ |
9E61
| 64 | + attachments?: Array<Attachment>; |
65 | 65 |
|
66 |
| - /** |
67 |
| - * @deprecated No longer used, but keeping it around to notify you. |
68 |
| - */ |
69 |
| - appPickerTitle?: string; |
| 66 | + /** |
| 67 | + * An optional iOS View Controller to open compose from |
| 68 | + * IOS ONLY |
| 69 | + */ |
| 70 | + iosViewController?: any; |
| 71 | + |
| 72 | + /** |
| 73 | + * @deprecated No longer used, but keeping it around to notify you. |
| 74 | + */ |
| 75 | + appPickerTitle?: string; |
70 | 76 | }
|
71 | 77 |
|
72 | 78 | /**
|
|
0 commit comments