mirror of
https://github.com/simplezhli/flutter_barcode_reader.git
synced 2024-11-26 04:09:29 +08:00
Merge pull request #42 from apptreesoftware/ios_barcode_scan_fix
Fix ios barcodes not scanning
This commit is contained in:
commit
be9d579c7a
@ -1,3 +1,7 @@
|
|||||||
|
## [0.0.7] - 8/30/18
|
||||||
|
|
||||||
|
* Fix iOS barcodes not scanning
|
||||||
|
|
||||||
## [0.0.6] - 8/29/18
|
## [0.0.6] - 8/29/18
|
||||||
|
|
||||||
* Fix android dependencies
|
* Fix android dependencies
|
||||||
|
@ -42,10 +42,6 @@
|
|||||||
views:@{@"scanRect": _scanRect}]];
|
views:@{@"scanRect": _scanRect}]];
|
||||||
[_scanRect startAnimating];
|
[_scanRect startAnimating];
|
||||||
self.scanner = [[MTBBarcodeScanner alloc] initWithPreviewView:_previewView];
|
self.scanner = [[MTBBarcodeScanner alloc] initWithPreviewView:_previewView];
|
||||||
__weak BarcodeScannerViewController *weakSelf = self;
|
|
||||||
self.scanner.didStartScanningBlock = ^{
|
|
||||||
weakSelf.scanner.scanRect = weakSelf.scanRect.scanLineRect;
|
|
||||||
};
|
|
||||||
self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemCancel target:self action:@selector(cancel)];
|
self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemCancel target:self action:@selector(cancel)];
|
||||||
[self updateFlashButton];
|
[self updateFlashButton];
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name: barcode_scan
|
name: barcode_scan
|
||||||
description: A flutter plugin for scanning 2D barcodes and QRCodes.
|
description: A flutter plugin for scanning 2D barcodes and QRCodes.
|
||||||
version: 0.0.6
|
version: 0.0.7
|
||||||
author: Matthew Smith<matthew.smith@apptreesoftware.com>
|
author: Matthew Smith<matthew.smith@apptreesoftware.com>
|
||||||
homepage: https://github.com/apptreesoftware/flutter_barcode_reader
|
homepage: https://github.com/apptreesoftware/flutter_barcode_reader
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user