Feature/supports focus (#72)
* Add `supportsFocus` prop to CameraDevice * Add true-depth camera again * Revert "Add true-depth camera again" This reverts commit 5814b8ca7a15b3273ff29498144bb352619a4c1d.
This commit is contained in:
@@ -111,6 +111,7 @@ final class CameraViewManager: RCTViewManager {
|
||||
"supportsDepthCapture": false, // TODO: supportsDepthCapture
|
||||
"supportsRawCapture": false, // TODO: supportsRawCapture
|
||||
"supportsLowLightBoost": $0.isLowLightBoostSupported,
|
||||
"supportsFocus": $0.isFocusPointOfInterestSupported,
|
||||
"formats": $0.formats.map { (format) -> [String: Any] in
|
||||
format.toDictionary()
|
||||
},
|
||||
|
Reference in New Issue
Block a user