barcode_scan2
A flutter plugin for scanning 2D barcodes and QRCodes via camera.
4.8.1
23K downloads/mo
#2048 most downloaded on pub.dev
mono0926/barcode_scan2
What this package is like to depend on
Last release 11 days ago
13 Aug 2026
Release timing varies
gaps range from 2 weeks to 8 months
Most releases are documented
notes for 26 of 35 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
35 releases · first in 2021
7 releases in the last 12 months
see the full history below
Release timeline
35 releases · Apr 2021 to Aug 2026Releases
latest 35-
4.8.113 Aug 2026Release notes
Open source →Fixes
- Migrate to built-in Kotlin and update Android Gradle configurations (#119)
Release notes
Open source →Fixes
- Migrate to built-in Kotlin and update Android Gradle configurations (#119)
-
4.8.003 Jul 2026Release notes
Open source →What's Changed
- Add iOS Swift Package Manager support and Android AGP 9+ built-in Kotlin support by @MirceaX2Mobile in #118
Full Changelog: v4.7.2...v4.8.0
Release notes
Open source →Features
- iOS: Adopt Swift Package Manager (vendored Obj-C MTBBarcodeScanner becomes its own Obj-C SPM target; the plugin stays CocoaPods-compatible).
- iOS: Rename the Swift class to
BarcodeScanPluginand drop the Obj-C shim. - Android: Migrate to built-in Kotlin support (targets JVM 17), compatible with both
android.builtInKotlinenabled and disabled. - Environment: Update Dart SDK requirement to
^3.12.0and Flutter SDK to>=3.44.0.
-
4.7.215 Jan 2026Release notes
Open source →What's Changed
- Fix iOS 26+ Scanner Dismiss Delay by @MirceaX2Mobile in #115
New Contributors
- @MirceaX2Mobile made their first contribution in #115
Full Changelog: v4.6.0...v4.7.2
Release notes
Open source →- Fixed 10-15 second delay when dismissing scanner on iOS 26+
- Vendored MTBBarcodeScanner source with fix (no Podfile override required)
- Root cause: AVCaptureVideoPreviewLayer.session = nil blocks on main thread waiting for camera pipeline sync
-
4.7.115 Jan 2026Nothing published for this version
-
4.6.023 Dec 2025Release notes
Open source →What's Changed
- refactor: upgrade toolchain and fix iOS/Android compatibility issues by @vipinkashyap in #114
Full Changelog: v4.5.3...v4.6.0
-
4.5.318 Dec 2025Release notes
Open source →What's Changed
- Fixes issue with dismissing the view when cancel is clicked on ios by @vipinkashyap in #113
New Contributors
- @vipinkashyap made their first contribution in #113
Full Changelog: v4.5.2...v4.5.3
Release notes
Open source →- Fixes issue with dismissing the view when cancel is clicked on ios(#113)
-
4.5.203 Dec 2025Release notes
Open source →What's Changed
- protobuf 4.0.0 by @flutter-painter in #109
- Update to Android 36 by @Handis1201 in #112
New Contributors
- @flutter-painter made their first contribution in #109
- @Handis1201 made their first contribution in #112
Full Changelog: v4.5.1...v4.5.2
-
4.5.104 Apr 2025Release notes
Open source →What's Changed
- [Bug] Android build fails on Apple Silicon M3 by @smile-yoshryo in #105
New Contributors
- @smile-yoshryo made their first contribution in #105
Full Changelog: v4.5.0...v4.5.1
-
4.5.014 Feb 2025 -
4.4.020 Jan 2025Release notes
Open source →What's Changed
- Add support for changing the AppBar title on Android by @kevinhikaruevans in #99
New Contributors
- @kevinhikaruevans made their first contribution in #99
Full Changelog: v4.3.3...v4.4.0
-
4.3.317 Jul 2024 -
4.3.211 Jul 2024 -
4.3.121 Jun 2024Release notes
Open source →- Fix
Could not get unknown property 'source' for generate-proto-generateDebugProto of type org.gradle.api.internal.file.DefaultSourceDirectorySet.error (#84, #85)
- Fix
-
4.3.008 Nov 2023Release notes
Open source →- Upgrade min Flutter version to 3.0.1
- Upgrade protobuf dependency to ^3.1.0
- Upgrade pedantic_mono dev_dependency to pedantic_mono: ^1.24.0+1
-
4.2.408 Mar 2023 -
4.2.304 Jan 2023 -
4.2.227 Dec 2022 -
4.2.114 May 2022 -
4.2.1+127 Dec 2022 -
4.2.008 Dec 2021Release notes
Open source →- Changed protobuf_version and compileSdkVersion to support Android 12 / SDK 31
-
4.1.426 Jul 2021 -
4.1.328 Apr 2021Release notes
Open source →- Fix Error in release mode properly (#9)
- Previously, it was fixed by reverting https://github.com/mono0926/barcode_scan2/commit/cea32818174b62326d3f798c264f0e78f1a05aae , but it caused another error when using with cloud_firestore etc. So that change is applied again and fixed original issue by https://github.com/mono0926/barcode_scan2/commit/d540aef8eaf693fb2628449d00aa7a422c6e1d65
- Fix Error in release mode properly (#9)
-
4.1.227 Apr 2021 -
4.1.127 Apr 2021Release notes
Open source →- Fix After flutter plugin register, the topViewController may changed, present Scan ViewController failed! (#10)
-
4.1.027 Apr 2021 -
4.0.126 Apr 2021Release notes
Open source →- Fix When ViewController whose view is not in the window hierarchy, present Scan ViewController failed will failed. (#5)
-
4.0.019 Apr 2021Release notes
Open source →- Original barcode_scan was discontinued, so barcode_scan2 was borned with sound null safety support🎉
Prior to 3.0.1, see the CHANGELOG of discontinued original package: https://pub.dev/packages/barcode_scan/changelog
-
4.0.0+119 Apr 2021Nothing published for this version
-
4.0.0+219 Apr 2021Nothing published for this version
-
4.0.0+319 Apr 2021Nothing published for this version
-
4.0.0+420 Apr 2021Nothing published for this version
-
4.0.0+520 Apr 2021Nothing published for this version
-
4.0.0+620 Apr 2021Nothing published for this version
-
4.0.0+720 Apr 2021Nothing published for this version
-
4.0.0+820 Apr 2021Nothing published for this version