juliansteenbakker / mobile_scanner

A universal scanner for Flutter based on MLKit. Uses CameraX on Android and AVFoundation on iOS.
BSD 3-Clause "New" or "Revised" License
744 stars 444 forks source link

feat: 5.0.0-beta 3 #1005

Closed navaronbracke closed 1 month ago

navaronbracke commented 1 month ago

Fixes https://github.com/juliansteenbakker/mobile_scanner/issues/995 Fixes https://github.com/juliansteenbakker/mobile_scanner/issues/976 Fixes https://github.com/juliansteenbakker/mobile_scanner/issues/1001

Dohmanlechx commented 1 month ago

Hello @navaronbracke (and @juliansteenbakker)! Thanks for your hard work. Do you have an estimation on when you will merge this and release 5.0.0-beta.3? Let me know if you need time so I'll check out the branch instead. We are currently working on this privacy manifest thing for our application.

navaronbracke commented 1 month ago

I have mainly two small things left that I want to do: 1) Update the Android Gradle plugin dependency setup per the new guidelines at https://docs.flutter.dev/release/breaking-changes/flutter-gradle-plugin-apply This is a small migration to the new syntax. 2) Integrate the improvements for extension types for the web implementation. See https://github.com/juliansteenbakker/mobile_scanner/pull/979 for context

Besides the extension types work for the web, I also have WASM support planned, but that can come later (as WASM support is currently not available on Flutter stable; and there is also a small caveat for 'undefined checks' on WASM)

You can expect this new beta at the end of the week, or sooner if I find the time. If you are willing to do the Gradle migration, per the documentation above, a PR for that is very welcome and would save me a tiny bit of work (although I will do it if nobody else wants to do so)

ElhamM7518 commented 1 month ago

I hope it will be merged as soon as possible. We really need it!

Dohmanlechx commented 1 month ago

I hope it will be merged as soon as possible. We really need it!

If it's THAT urgent, you may do it like this until this gets merged:

  mobile_scanner:
    git:
     url: https://github.com/navaronbracke/mobile_scanner
     ref: 6490aabcd49ccddea173b9493ca65c2bba2a8266

Which refers to this commit in this PR.