Skip to content

Commit 6a51902

Browse files
committed
Added a note that copyAssetsFileIOS and copyAssetsVideoIOS aren't supported on Mac Catalist
1 parent 3742b74 commit 6a51902

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ Note: Android only. Will overwrite destPath if it already exists.
442442

443443
### `copyAssetsFileIOS(imageUri: string, destPath: string, width: number, height: number, scale : number = 1.0, compression : number = 1.0, resizeMode : string = 'contain' ): Promise<string>`
444444

445-
iOS-only: copies a file from camera-roll, that is prefixed with "assets-library://asset/asset.JPG?..."
445+
iOS-only (not available on Mac Catalyst): copies a file from camera-roll, that is prefixed with "assets-library://asset/asset.JPG?..."
446446
to a specific destination. It will download the original from iCloud if necessary.
447447

448448
If width and height is > 0, the image will be resized to a specific size and a specific compression rate.
@@ -461,7 +461,7 @@ The promise will on success return the final destination of the file, as it was
461461

462462
### copyAssetsVideoIOS(videoUri: string, destPath: string): Promise<string>
463463

464-
iOS-only: copies a video from assets-library, that is prefixed with 'assets-library://asset/asset.MOV?...'
464+
iOS-only (not available on Mac Catalyst): copies a video from assets-library, that is prefixed with 'assets-library://asset/asset.MOV?...'
465465
to a specific destination.
466466

467467
### `unlink(filepath: string): Promise<void>`

0 commit comments

Comments
 (0)