From fc18d3252c0db661b30ea542af3a1f7c769effaf Mon Sep 17 00:00:00 2001 From: andrewhaisting Date: Fri, 26 Mar 2021 10:28:47 -0600 Subject: [PATCH] add lockAndroidOrientation option --- README.md | 1 + .../camera/preview/CameraPreview.java | 18 +++++++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6b9becb7..121908f6 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,7 @@ Starts the camera preview instance. | storeToFile | boolean | (optional) Capture images to a file and return back the file path instead of returning base64 encoded data, default false. | | disableExifHeaderStripping | boolean | (optional) Disable automatic rotation of the image, and let the browser deal with it, default true (applicable to the android and ios platforms only) | | disableAudio | boolean | (optional) Disables audio stream to prevent permission requests, default false. (applicable to web only) | +| lockAndroidOrientation | boolean | (optional) Locks device orientation when camer is showing, default false. (applicable to Android only) |