From e70aac0b181bd591d8e38a6a360427cabfb72b7d Mon Sep 17 00:00:00 2001 From: Khoren Markosyan Date: Tue, 28 Feb 2023 23:27:51 +0400 Subject: [PATCH] updated zxing-cpp to the latest version --- README.md | 5 +++-- example/android/app/build.gradle | 4 ++-- example/ios/Podfile.lock | 4 ++-- pubspec.yaml | 4 ++++ src/zxing | 2 +- 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c56d9bb..ce4054b 100644 --- a/README.md +++ b/README.md @@ -60,8 +60,9 @@ Flutter ZXing supports the following platforms: - Android (minimum API level 21) - iOS (minimum iOS 11.0) - MacOS (minimum osx 10.15) (beta) -- Linux (beta) -- Windows (beta) +- Linux (not working yet) +- Windows (not working yet) +- Web (not working yet) Note that flutter_zxing relies on the Dart FFI (Foreign Function Interface) feature, which is currently only available for the mobile and desktop platforms. As a result, the plugin is not currently supported on the web platform. diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index a81c2de..5778244 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion flutter.compileSdkVersion + compileSdkVersion 33 compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 @@ -45,7 +45,7 @@ android { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.markosyan.flutter_zxing_example" minSdkVersion 21 - targetSdkVersion flutter.targetSdkVersion + targetSdkVersion 32 versionCode flutterVersionCode.toInteger() versionName flutterVersionName } diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index df97eac..0b385ca 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -24,10 +24,10 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/image_picker_ios/ios" SPEC CHECKSUMS: - camera_avfoundation: 07c77549ea54ad95d8581be86617c094a46280d9 + camera_avfoundation: 3125e8cd1a4387f6f31c6c63abb8a55892a9eeeb Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 flutter_zxing: 19a866d17c8a87ee1026d68521c69d2f008635f6 - image_picker_ios: b786a5dcf033a8336a657191401bfdf12017dabb + image_picker_ios: 58b9c4269cb176f89acea5e5d043c9358f2d25f8 PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3 diff --git a/pubspec.yaml b/pubspec.yaml index 51837e6..f82db11 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -35,4 +35,8 @@ flutter: windows: ffiPlugin: true +# Publish to pub.dev # flutter pub publish --dry-run + +# Update zxing-cpp submodule +# git submodule update --remote \ No newline at end of file diff --git a/src/zxing b/src/zxing index 8fe95e2..d917ffb 160000 --- a/src/zxing +++ b/src/zxing @@ -1 +1 @@ -Subproject commit 8fe95e2f71eeb0d01646a44e1a2f17a7ee853652 +Subproject commit d917ffb64685dfc8d3da146a48760f1646cd48a0