Closed devtronic closed 4 years ago
Error
Please post the content of your pubspec.yaml and pubspec.lock
When does this pull request will be merged ?
Does/Could this PR also incorporate the config options to solve #53?
I'll try to finalize the PR next week.
@sclausen Yes :-)
Cool !
hi can we return instead of code (future
static Future
@kw2019ltd Of course 🙂
Hello,when will 3.x be officially released?
Tomorrow 🙂
Tomorrow 🙂
you are great !
Will 3.x support the following feature ?
var config = Configuration();
config.cancelText = "Abbrechen"; // Your text for the iOS cancel button
config.flashOnText = "Blitz an"; // Your text for the Flash On Button
config.flashOffText = "Blitz aus"; // Your text for the Flash Off button
config.restrictFormat.addAll([BarcodeFormat.qr]); // Only scan qr codes
// Camera index. Get it from [BarcodeScanner.numberOfCameras]
config.useCamera = 1;
String barcode = await BarcodeScanner.scan(config: config);
https://pub.dev/packages/barcode_scan#-changelog-tab-
There is still displaying barcode_scan 2.0.1 version on dart pub.
as mentioned about the PR still not merged to master.
1 comment can you add also barcodeFormat upca,itf
@ihihihihihihih It's 9:21 AM in Germany, I'll update the update the library today 😉
@kw2019ltd afaik are this types only supported by the iOS scanner library. IMO the package only should provide options which are supported by both platforms iOS and Android.
good, yes those format are supported by firebase_ml_vision (flutter plugin) for both android and ios.
On Sun, Apr 12, 2020 at 10:23 AM Julian Finkler notifications@github.com wrote:
@ihihihihihihih https://github.com/ihihihihihihih It's 9:21 AM in Germany, I'll update the update the library today 😉
@kw2019ltd https://github.com/kw2019ltd afaik are this types only supported by the iOS scanner library. IMO the package only should provide options which are supported by both platforms iOS and Android.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mintware-de/flutter_barcode_reader/pull/185#issuecomment-612575537, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALJEI6X3KIM2WL6USHXRKWLRMFT7FANCNFSM4KZPXMBQ .
@kw2019ltd Unfortunately this lib doesn’t use firebase_ml_vision, but me.dm7.barcodescanner:zxing for android.
@sclausen Yes, but I plan to migrate to ML vision since it provides for both iOS and Android the same options.
Wouldn’t that force developers to have a firebase account for their project to use this library? This seems to be a severe change.
3.0.0-dev.2 has a problem on my Android phone.
The plugin on debug mode is ok.
But on release mode has the following error.
04-13 11:54:05.966 26938 26977 E flutter : [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method requestCameraPermission on channel de.mintware.barcode_scan)
04-13 11:54:05.966 26938 26977 E flutter : #0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319)
04-13 11:54:05.966 26938 26977 E flutter : <asynchronous suspension>
04-13 11:54:05.966 26938 26977 E flutter : #1 BarcodeScanner.scan (package:barcode_scan/platform_wrapper.dart:56)
04-13 11:54:05.966 26938 26977 E flutter : #2 _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:45)
04-13 11:54:05.966 26938 26977 E flutter : #3 BarcodeScanner.scan (package:barcode_scan/platform_wrapper.dart:31)
@ihihihihihihih : Take a look on this: https://github.com/mintware-de/flutter_barcode_reader/issues/211
Use this PR to test the new features:
Usage:
Advanced usage
You can pass options to the scan method:
Supported options
strings.cancel
String
strings.flash_on
String
strings.flash_off
String
restrictFormat
BarcodeFormat[]
useCamera
int
BarcodeScanner.numberOfCameras
)autoEnableFlash
bool
android.aspectTolerance
double
android.useAutoFocus
bool
Todo: