Skip to content

Commit

Permalink
version: 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
khoren93 committed May 22, 2024
1 parent a429ed2 commit fc3bc79
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 36 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.6.1

* Fixed iOS and macOS compatibility issues

## 1.6.0

* Updated camera to v0.11.0
Expand Down
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,14 @@ import 'package:flutter_zxing/flutter_zxing.dart';
// Use ReaderWidget to quickly read barcode from camera image
@override
Widget build(BuildContext context) {
return Scaffold(
body: ReaderWidget(
onScan: (result) async {
// Do something with the result
},
),
return Scaffold(
body: ReaderWidget(
onScan: (result) async {
// Do something with the result
},
),
);
);
}
// Or use flutter_zxing plugin methods
// To read barcode from camera image directly
Expand Down Expand Up @@ -147,17 +147,17 @@ import 'package:image/image.dart' as imglib;
// Use WriterWidget to quickly create barcode
@override
Widget build(BuildContext context) {
return Scaffold(
body: WriterWidget(
onSuccess: (result, bytes) {
// Do something with the result
},
onError: (error) {
// Do something with the error
},
),
return Scaffold(
body: WriterWidget(
onSuccess: (result, bytes) {
// Do something with the result
},
onError: (error) {
// Do something with the error
},
),
);
);
}
// Or use FlutterZxing to create barcode directly
final Encode result = zx.encodeBarcode(
Expand Down
4 changes: 2 additions & 2 deletions example/macos/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ EXTERNAL SOURCES:
:path: Flutter/ephemeral

SPEC CHECKSUMS:
file_selector_macos: 468fb6b81fac7c0e88d71317f3eec34c3b008ff9
file_selector_macos: 54fdab7caa3ac3fc43c9fac4d7d8d231277f8cf2
flutter_zxing: ea030278aa2a051cd81a5b0053be9d0569d11c9a
FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24

PODFILE CHECKSUM: 0d3963a09fc94f580682bd88480486da345dc3f0

COCOAPODS: 1.13.0
COCOAPODS: 1.14.3
2 changes: 1 addition & 1 deletion example/macos/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0920;
LastUpgradeCheck = 1430;
LastUpgradeCheck = 1510;
ORGANIZATIONNAME = "";
TargetAttributes = {
33CC10EC2044A3C60003C045 = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1430"
LastUpgradeVersion = "1510"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
10 changes: 5 additions & 5 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ packages:
dependency: transitive
description:
name: camera_android_camerax
sha256: a2aac9505259a86d5eb6b0a14116b9a64f34a4735009f47731e59834218a5a29
sha256: "59967e6d80df9d682a33b86f228cc524e6b52d6184b84f6ac62151dd98bd1ea0"
url: "https://pub.dev"
source: hosted
version: "0.6.5+1"
version: "0.6.5+2"
camera_avfoundation:
dependency: transitive
description:
Expand Down Expand Up @@ -190,7 +190,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.5.2"
version: "1.6.1"
http:
dependency: transitive
description:
Expand Down Expand Up @@ -243,10 +243,10 @@ packages:
dependency: transitive
description:
name: image_picker_ios
sha256: f3285238eb1474ee42946f557ad7df17aa6a2cf4106c2f41bdc948cd71c8b5e5
sha256: "4824d8c7f6f89121ef0122ff79bb00b009607faecc8545b86bca9ab5ce1e95bf"
url: "https://pub.dev"
source: hosted
version: "0.8.11+1"
version: "0.8.11+2"
image_picker_linux:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_zxing
description: A barcode scanner and generator natively in Flutter with Dart FFI based on ZXing.
version: 1.6.0
version: 1.6.1
repository: https://github.com/khoren93/flutter_zxing

environment:
Expand Down
18 changes: 9 additions & 9 deletions zxscanner/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ packages:
dependency: transitive
description:
name: camera_android_camerax
sha256: a2aac9505259a86d5eb6b0a14116b9a64f34a4735009f47731e59834218a5a29
sha256: "59967e6d80df9d682a33b86f228cc524e6b52d6184b84f6ac62151dd98bd1ea0"
url: "https://pub.dev"
source: hosted
version: "0.6.5+1"
version: "0.6.5+2"
camera_avfoundation:
dependency: transitive
description:
Expand Down Expand Up @@ -403,7 +403,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.5.2"
version: "1.6.1"
font_awesome_flutter:
dependency: "direct main"
description:
Expand Down Expand Up @@ -536,10 +536,10 @@ packages:
dependency: transitive
description:
name: image_picker_ios
sha256: f3285238eb1474ee42946f557ad7df17aa6a2cf4106c2f41bdc948cd71c8b5e5
sha256: "4824d8c7f6f89121ef0122ff79bb00b009607faecc8545b86bca9ab5ce1e95bf"
url: "https://pub.dev"
source: hosted
version: "0.8.11+1"
version: "0.8.11+2"
image_picker_linux:
dependency: transitive
description:
Expand Down Expand Up @@ -1037,10 +1037,10 @@ packages:
dependency: transitive
description:
name: url_launcher_android
sha256: "360a6ed2027f18b73c8d98e159dda67a61b7f2e0f6ec26e86c3ada33b0621775"
sha256: "17cd5e205ea615e2c6ea7a77323a11712dffa0720a8a90540db57a01347f9ad9"
url: "https://pub.dev"
source: hosted
version: "6.3.1"
version: "6.3.2"
url_launcher_ios:
dependency: transitive
description:
Expand Down Expand Up @@ -1133,10 +1133,10 @@ packages:
dependency: transitive
description:
name: web_socket
sha256: bfe704c186c6e32a46f6607f94d079cd0b747b9a489fceeecc93cd3adb98edd5
sha256: "217f49b5213796cb508d6a942a5dc604ce1cb6a0a6b3d8cb3f0c314f0ecea712"
url: "https://pub.dev"
source: hosted
version: "0.1.3"
version: "0.1.4"
web_socket_channel:
dependency: transitive
description:
Expand Down

0 comments on commit fc3bc79

Please sign in to comment.