react-native-opencv3
react-native-opencv3 copied to clipboard
Component "CvCameraView" re-registered direct event 'topFacesDetected' as a bubbling event

Could not get anything related to 'topFacesDetected' as RCTDirectEventBlock.
How to reproduce?
- install 'react-native-opencv3'
- import components
- boom
In file CvCameraView.m
~RCT_EXPORT_VIEW_PROPERTY(onFacesDetected, RCTBubblingEventBlock)~
RCT_EXPORT_VIEW_PROPERTY(onFacesDetected, RCTDirectEventBlock)
Fixed for me