Skip to content

Commit

Permalink
Update filePath to show it's optional (only Android)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkalupahana committed Sep 5, 2023
1 parent 3666d17 commit bbe8a33
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,9 @@ Creates an album.

#### PhotoResponse

| Prop | Type |
| -------------- | ------------------- |
| **`filePath`** | <code>string</code> |
| Prop | Type | Description |
| -------------- | ------------------- | -------------------------- |
| **`filePath`** | <code>string</code> | Available on Android only. |


#### MediaSaveOptions
Expand Down
5 changes: 4 additions & 1 deletion src/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,5 +219,8 @@ export interface MediaAlbumCreate {
}

export interface PhotoResponse {
filePath: string;
/**
* Available on Android only.
*/
filePath?: string;
}

0 comments on commit bbe8a33

Please sign in to comment.