fix: Disable precapture sequence by default (#2629)

This commit is contained in:
Marc Rousavy
2024-03-04 12:49:03 +01:00
committed by GitHub
parent e8dd1e0b2e
commit 3f1a7c9e32
4 changed files with 17 additions and 3 deletions

View File

@@ -44,6 +44,14 @@ export interface TakePhotoOptions {
* @default true
*/
enableShutterSound?: boolean
/**
* Whether to run the pre-capture sequence to properly lock AF, AE and AWB values.
* Enabling this results in greater photos, but might not work on some devices.
*
* @platform Android
* @default false
*/
enablePrecapture?: boolean
}
/**