-
Notifications
You must be signed in to change notification settings - Fork 463
Conversation
- Bump minSdk version up to 18
- Retrieve the number of available cameras with `BarcodeScanner.numberOfCameras` Flexible configuration: - Set the strings for the flash on/off and the cancel button - Restrict the detected barcode formats - Set which camera is used for scanning barcodes
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) to return object which contain the code and type (if its QR or Bar..) and if its barcode to return barcode type (pdf,code128 etc)... static Future scan({Configuration config}) async => |
@kw2019ltd Of course 🙂 |
Hello,when will 3.x be officially released? |
Tomorrow 🙂 |
you are great ! |
Will 3.x support the following feature ?
|
…ing the barcode only
…into rewrite_platform_communication # Conflicts: # android/src/main/kotlin/de/mintware/barcode_scan/BarcodeScannerActivity.kt
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 ***@***.***> 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
<#185 (comment)>,
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. |
…obuf models in the public api
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.
|
@ihihihihihihih : Take a look on this: #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: