File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed
android/src/main/java/com/mrousavy/camera Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ suspend fun CameraView.takePhoto(optionsMap: ReadableMap): WritableMap {
19
19
20
20
val flash = options[" flash" ] as ? String ? : " off"
21
21
val enableShutterSound = options[" enableShutterSound" ] as ? Boolean ? : true
22
- val enablePrecapture = options[" enablePrecapture" ] as ? Boolean ? : false
23
22
24
23
val photo = cameraSession.takePhoto(
25
24
Flash .fromUnionValue(flash),
Original file line number Diff line number Diff line change @@ -29,14 +29,6 @@ export interface TakePhotoOptions {
29
29
* @default true
30
30
*/
31
31
enableShutterSound ?: boolean
32
- /**
33
- * Whether to run the pre-capture sequence to properly lock AF, AE and AWB values.
34
- * Enabling this results in greater photos, but might not work on some devices.
35
- *
36
- * @platform Android
37
- * @default false
38
- */
39
- enablePrecapture ?: boolean
40
32
}
41
33
42
34
/**
You can’t perform that action at this time.
0 commit comments