Browse Source

bug fixes

pull/76/head
Khoren Markosyan 2 years ago
parent
commit
6886abcaa9
  1. 2
      README.md
  2. 4
      example/pubspec.lock
  3. 2
      src/native_zxing.cpp

2
README.md

@ -126,7 +126,7 @@ final Encode result = zx.encodeBarcode(
),
);
if (result.isValid) {
final img = imglib.Image.fromBytes(width, height, result.bytes);
final img = imglib.Image.fromBytes(width, height, result.data);
final encodedBytes = Uint8List.fromList(imglib.encodeJpg(img));
// use encodedBytes as you wish
}

4
example/pubspec.lock

@ -148,7 +148,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.10.0"
version: "1.0.0-beta.1"
font_awesome_flutter:
dependency: "direct main"
description:
@ -359,4 +359,4 @@ packages:
version: "6.1.0"
sdks:
dart: ">=2.18.0 <3.0.0"
flutter: ">=3.0.0"
flutter: ">=3.3.0"

2
src/native_zxing.cpp

@ -23,7 +23,7 @@ extern "C"
FUNCTION_ATTRIBUTE
char const *version()
{
return "1.4.0";
return "2.0.0";
}
FUNCTION_ATTRIBUTE

Loading…
Cancel
Save