feat(camera-preview): add storeToFile option (#4294)

/** Capture images to a file and return back the file path instead of returning base64 encoded data. */
  storeToFile: boolean;
This commit is contained in:
rupendraa 2022-09-05 22:30:12 +05:30 committed by GitHub
parent 9250d49970
commit ca7ab1569b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,9 @@ export interface CameraPreviewOptions {
/** Preview box drag across the screen, default 'false' */ /** Preview box drag across the screen, default 'false' */
previewDrag?: boolean; previewDrag?: boolean;
/** Capture images to a file and return back the file path instead of returning base64 encoded data. */
storeToFile: boolean;
/** Preview box to the back of the webview (true => back, false => front) , default false */ /** Preview box to the back of the webview (true => back, false => front) , default false */
toBack?: boolean; toBack?: boolean;