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:
@@ -184,6 +184,7 @@ class CameraViewModule(reactContext: ReactApplicationContext) : ReactContextBase
|
||||
map.putBoolean("supportsRawCapture", supportsRawCapture)
|
||||
map.putBoolean("supportsDepthCapture", supportsDepthCapture)
|
||||
map.putBoolean("supportsLowLightBoost", supportsLowLightBoost)
|
||||
map.putBoolean("supportsFocus", true) // I believe every device here supports focussing
|
||||
if (zoomRange != null) {
|
||||
map.putDouble("minZoom", zoomRange.lower.toDouble())
|
||||
map.putDouble("maxZoom", zoomRange.upper.toDouble())
|
||||
|
Reference in New Issue
Block a user