realjamie
realjamie
@morukutsu , your fix works on my project and solves the crashing problem, thanks. (/cc @lwansbrough)
When I say the fix from @morukutsu works, it means that the app doesn't crash when touching-to-focus and pinching-to-zoom. The zooming feature works well, but the re-focusing feature doesn't work...
Hi @morukutsu, today I tried your fix on iPad and my app still crashes when pinching-to-zoom (but not touching-to-focus). It works well on iPod Touch.
@morukutsu , thanks for quick reply. Here is the error log: 2015-11-17 17:37:54.939 MyProject[614:911509] **\* Terminating app due to uncaught exception 'NSRangeException', reason: '**\* -[AVCaptureVideoDevice setVideoZoomFactor:] - the passed videoZoomFactor...
Hi, Try set defaultOnFocusComponent to true and onFocusChanged={this._handleFocusChanged}. In your callback, you can do: _handleFocusChanged(event) { console.log(event.nativeEvent.touchPoint); // call capture() here } The visual feedback is already provided in this...
Maybe the error occurred because of capture()? Try remove capture() and only print log first?
I had the same issue. My react-native-camera was working well until I upgrade it to 0.3.8 and upgrade ReactNative to 0.32.0 [Environment] Node.js version: 4.2.4 React Native version: 0.32.0 React...
+1 [Environment] Node.js version: 4.2.4 React Native version: 0.32.0 React Native platform + platform version: iOS [react-native-camera] Version: 0.3.8
+1 [Environment] Node.js version: 4.2.4 React Native version: 0.32.0 React Native platform + platform version: iOS [react-native-camera] Version: 0.3.8