How to enable zoom?
Hello! Thanks you for building a marvelous React Native component. I've been experimenting with it in an android app I'm building and for some reason can't get zoom to work. My implementation is pretty much the same as the example:
<CameraKitCamera
ref={(cam) => { this.camera = cam; }}
style={{flex: 1, backgroundColor:'white'}}
cameraOptions={{
flashMode: 'auto', // on/off/auto(default)
focusMode: 'on', // off/on(default)
zoomMode: 'on', // off/on(default)
}}/>
Is there something I am missing? I would love some help/guidance. Thanks!
@Cygnus2112 Thanks for the good words :) The zoom option works for u in the example project?
Hi! Unfortunately, zoomMode does not work for me in the example project. Everything else seems to work perfectly, but not zoom. (I am using android.)
@gran33 @cygnus2112 I have the same issue
Hi any updates on this. The camera is always zoomed in for my app, which is causing issues. Any advice?
@gran33 @Cygnus2112 ??? Any updates?
same issue.. any update??
hi. I am also having issues with the zoom on android
// package.json "react-native-camera-kit": "^8.0.1",
<CameraKitCameraScreen
style={{
flex: 1,
backgroundColor: '#000'
}}
scanBarcode
laserColor={Colors.brand}
frameColor={Colors.brand}
cameraOptions={{
flashMode: 'auto', // on/off/auto(default)
focusMode: 'on', // off/on(default)
zoomMode: 'on', // off/on(default)
}}
onReadCode={(event) => this.delayedBarCodeRead(event.nativeEvent.codeStringValue)}
hideControls={false}
showFrame
/>
I have zoomMode: 'on', but it is only working on iOS. Android does nothing.
there is nothing containing "zoom" in this library android folder...
anyone found any solution?
We are waiting for zoom, any update for zoom feature? @aarongrider