Skip to content

Commit

Permalink
Merge pull request #993 from navaronbracke/lower_min_version_for_beta
Browse files Browse the repository at this point in the history
fix: lower the Flutter constraint to allow earlier adoption of the beta
  • Loading branch information
navaronbracke authored Mar 21, 2024
2 parents 663e43a + 382a8b6 commit 269bc95
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## NEXT
## 5.0.0-beta.2

**BREAKING CHANGES:**

* Flutter 3.16.0 is now required.

Bugs fixed:
* Fixed an issue where the scan window was not updated when its size was changed. (thanks @navaronbracke !)
Expand All @@ -7,7 +11,6 @@ Bugs fixed:

**BREAKING CHANGES:**

* Flutter 3.19.0 is now required.
* The `width` and `height` of `BarcodeCapture` have been removed, in favor of `size`.
* The `raw` attribute is now `Object?` instead of `dynamic`, so that it participates in type promotion.
* The `MobileScannerArguments` class has been removed from the public API, as it is an internal type.
Expand Down
4 changes: 2 additions & 2 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 0.0.1

environment:
sdk: ">=3.3.0 <4.0.0"
flutter: ">=3.19.0"
sdk: ">=3.2.0 <4.0.0"
flutter: ">=3.16.0"

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down
8 changes: 4 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: mobile_scanner
description: A universal barcode and QR code scanner for Flutter based on MLKit. Uses CameraX on Android, AVFoundation on iOS and Apple Vision & AVFoundation on macOS.
version: 5.0.0-beta.1
version: 5.0.0-beta.2
repository: https://github.com/juliansteenbakker/mobile_scanner

screenshots:
Expand All @@ -16,16 +16,16 @@ screenshots:
path: example/screenshots/overlay.png

environment:
sdk: ">=3.3.0 <4.0.0"
flutter: ">=3.19.0"
sdk: ">=3.2.0 <4.0.0"
flutter: ">=3.16.0"

dependencies:
flutter:
sdk: flutter
flutter_web_plugins:
sdk: flutter
plugin_platform_interface: ^2.0.2
web: ^0.5.0
web: ^0.4.0

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit 269bc95

Please sign in to comment.