Tarik Mlaćo

Results 4 comments of Tarik Mlaćo

@lwansbrough @NorthFoxz hey guys...just wanted to let you know that I had problems with the barcode scanner never reaching the onBarCodeScan event. I found the problem inside the method getFramingRectInPreview...

Yes, I did. I managed to hack the code inside react-native-camera-android Java code...you need to manually set the viewfinder Rect to screen size and then it will scan barcodes. It...

``` public synchronized Rect getFramingRectInPreview(int previewWidth, int previewHeight) { if(this.mFramingRectInPreview == null) { Rect framingRect = this.mViewFinderView.getFramingRect(); int viewFinderViewWidth = this.mViewFinderView.getWidth(); int viewFinderViewHeight = this.mViewFinderView.getHeight(); if(framingRect != null) { Rect...

@rohitgoyal No problem. But bear in mind that this is only a hack and subsequent version should fix the issue with the viewfinder prop. @lwansbrough @NorthFoxz any news on the...