Browse Source

updated zxing-cpp to the latest version

pull/89/head
Khoren Markosyan 2 years ago
parent
commit
e70aac0b18
  1. 5
      README.md
  2. 4
      example/android/app/build.gradle
  3. 4
      example/ios/Podfile.lock
  4. 4
      pubspec.yaml
  5. 2
      src/zxing

5
README.md

@ -60,8 +60,9 @@ Flutter ZXing supports the following platforms:
- Android (minimum API level 21) - Android (minimum API level 21)
- iOS (minimum iOS 11.0) - iOS (minimum iOS 11.0)
- MacOS (minimum osx 10.15) (beta) - MacOS (minimum osx 10.15) (beta)
- Linux (beta) - Linux (not working yet)
- Windows (beta) - 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. 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.

4
example/android/app/build.gradle

@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android { android {
compileSdkVersion flutter.compileSdkVersion compileSdkVersion 33
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8 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). // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.markosyan.flutter_zxing_example" applicationId "com.markosyan.flutter_zxing_example"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion flutter.targetSdkVersion targetSdkVersion 32
versionCode flutterVersionCode.toInteger() versionCode flutterVersionCode.toInteger()
versionName flutterVersionName versionName flutterVersionName
} }

4
example/ios/Podfile.lock

@ -24,10 +24,10 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/image_picker_ios/ios" :path: ".symlinks/plugins/image_picker_ios/ios"
SPEC CHECKSUMS: SPEC CHECKSUMS:
camera_avfoundation: 07c77549ea54ad95d8581be86617c094a46280d9 camera_avfoundation: 3125e8cd1a4387f6f31c6c63abb8a55892a9eeeb
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
flutter_zxing: 19a866d17c8a87ee1026d68521c69d2f008635f6 flutter_zxing: 19a866d17c8a87ee1026d68521c69d2f008635f6
image_picker_ios: b786a5dcf033a8336a657191401bfdf12017dabb image_picker_ios: 58b9c4269cb176f89acea5e5d043c9358f2d25f8
PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3 PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3

4
pubspec.yaml

@ -35,4 +35,8 @@ flutter:
windows: windows:
ffiPlugin: true ffiPlugin: true
# Publish to pub.dev
# flutter pub publish --dry-run # flutter pub publish --dry-run
# Update zxing-cpp submodule
# git submodule update --remote

2
src/zxing

@ -1 +1 @@
Subproject commit 8fe95e2f71eeb0d01646a44e1a2f17a7ee853652 Subproject commit d917ffb64685dfc8d3da146a48760f1646cd48a0
Loading…
Cancel
Save