From a92e85e2cf547e66692938ba15659ebd28c5f3ef Mon Sep 17 00:00:00 2001 From: Bernd Kampl Date: Fri, 17 Jun 2022 14:32:02 +0200 Subject: [PATCH 1/6] Migrate ClipBehavior... ... based on migration guide: https://docs.flutter.dev/release/breaking-changes/clip-behavior#migration-guide --- example/lib/home.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/example/lib/home.dart b/example/lib/home.dart index 80e3e0f..4a0e88e 100644 --- a/example/lib/home.dart +++ b/example/lib/home.dart @@ -553,8 +553,7 @@ class ScanButton extends StatelessWidget { height: double.infinity, width: double.infinity, child: Stack( - overflow: Overflow.clip, - alignment: Alignment.bottomLeft, + clipBehavior: Clip.hardEdge, alignment: Alignment.bottomLeft, children: [ Positioned( bottom: 10, From 114c190e534d88e3b4782ec4ac12a6744d798e0d Mon Sep 17 00:00:00 2001 From: Bernd Kampl Date: Fri, 17 Jun 2022 14:32:48 +0200 Subject: [PATCH 2/6] Update versions to 40.0.0-rc.1 --- CHANGELOG.md | 4 ++++ README.md | 2 +- android/build.gradle | 2 +- example/pubspec.lock | 20 ++++++++++---------- example/pubspec.yaml | 2 +- ios/anyline_plugin.podspec | 4 ++-- pubspec.yaml | 2 +- 7 files changed, 20 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 09014fd..ea80315 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 40.0.0 + +- TODO + ## 39.0.0 - Updated to Anyline 39.0.0 diff --git a/README.md b/README.md index ef7e65e..5aeb47d 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ Add this to your package's pubspec.yaml file: ```yaml dependencies: - anyline_plugin: ^39.0.0 + anyline_plugin: ^40.0.0 ``` Install it with Flutter: diff --git a/android/build.gradle b/android/build.gradle index 17e95a1..4e75cb4 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -4,7 +4,7 @@ version '1.0' buildscript { ext { - anyline_sdk_version = "39.0.0" + anyline_sdk_version = "40.0.0-rc.1" kotlin_version = "1.6.10" } repositories { diff --git a/example/pubspec.lock b/example/pubspec.lock index 5a10e35..5c9580d 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -7,7 +7,7 @@ packages: path: ".." relative: true source: path - version: "39.0.0" + version: "40.0.0-rc.1" async: dependency: transitive description: @@ -49,7 +49,7 @@ packages: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.15.0" + version: "1.16.0" crypto: dependency: transitive description: @@ -70,7 +70,7 @@ packages: name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "1.2.0" + version: "1.3.0" ffi: dependency: transitive description: @@ -134,7 +134,7 @@ packages: name: js url: "https://pub.dartlang.org" source: hosted - version: "0.6.3" + version: "0.6.4" matcher: dependency: transitive description: @@ -148,7 +148,7 @@ packages: name: material_color_utilities url: "https://pub.dartlang.org" source: hosted - version: "0.1.3" + version: "0.1.4" meta: dependency: transitive description: @@ -162,7 +162,7 @@ packages: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.0" + version: "1.8.1" path_provider: dependency: transitive description: @@ -342,7 +342,7 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.1" + version: "1.8.2" stack_trace: dependency: transitive description: @@ -377,7 +377,7 @@ packages: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.4.8" + version: "0.4.9" typed_data: dependency: transitive description: @@ -391,7 +391,7 @@ packages: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.1" + version: "2.1.2" win32: dependency: transitive description: @@ -407,5 +407,5 @@ packages: source: hosted version: "0.2.0+1" sdks: - dart: ">=2.15.0 <3.0.0" + dart: ">=2.17.0-0 <3.0.0" flutter: ">=2.10.0-0" diff --git a/example/pubspec.yaml b/example/pubspec.yaml index a8d4f5f..b6d4d5b 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -1,6 +1,6 @@ name: anyline_plugin_example description: Demonstrates how to use the anyline_plugin plugin. -version: 39.0.0 +version: 40.0.0-rc.1 # The following line prevents the package from being accidentally published to # pub.dev using `pub publish`. This is preferred for private packages. diff --git a/ios/anyline_plugin.podspec b/ios/anyline_plugin.podspec index 6185085..fb9f4fc 100644 --- a/ios/anyline_plugin.podspec +++ b/ios/anyline_plugin.podspec @@ -4,7 +4,7 @@ # Pod::Spec.new do |s| s.name = 'anyline_plugin' - s.version = '39.0.0' + s.version = '40.0.0-rc.1' s.summary = 'Anyline SDK' s.description = <<-DESC Anyline OCR Module @@ -16,7 +16,7 @@ Anyline OCR Module s.source_files = 'Classes/**/*' s.public_header_files = 'Classes/**/*.h' s.dependency 'Flutter' - s.dependency 'Anyline', '39.0.0' + s.dependency 'Anyline', '40.0.0-rc.1' s.static_framework = true s.platform = :ios, '12.0' s.ios.deployment_target = '12.0' diff --git a/pubspec.yaml b/pubspec.yaml index fde5054..6e19d4c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: anyline_plugin description: Flutter Plugin for Anyline OCR, which allows you to scan all kinds of numbers, characters, text and codes. -version: 39.0.0 +version: 40.0.0-rc.1 homepage: https://anyline.com repository: https://github.com/Anyline/anyline-ocr-flutter-module documentation: https://documentation.anyline.com From 7177905654315e44a09ba8e9e4a96a68394b006e Mon Sep 17 00:00:00 2001 From: Aldrich Co Date: Mon, 20 Jun 2022 09:53:54 +0200 Subject: [PATCH 3/6] Add entitlements for push notifications (note: the example app doesn't technically use push notifications, but Flutter platform may potentially request for it) --- example/ios/Runner.xcodeproj/project.pbxproj | 5 +++++ example/ios/Runner/Runner.entitlements | 8 ++++++++ 2 files changed, 13 insertions(+) create mode 100644 example/ios/Runner/Runner.entitlements diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj index 75619ad..a1e6f4a 100644 --- a/example/ios/Runner.xcodeproj/project.pbxproj +++ b/example/ios/Runner.xcodeproj/project.pbxproj @@ -46,6 +46,7 @@ 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + A0900E7228605EC300B8D2CB /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = ""; }; B4AE9756A7564C8E5B3A9516 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; CCDD03D651A37F3A35E48C93 /* libPods-Runner.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Runner.a"; sourceTree = BUILT_PRODUCTS_DIR; }; DB58399F033884F340CDD444 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; @@ -96,6 +97,7 @@ 97C146F01CF9000F007C117D /* Runner */ = { isa = PBXGroup; children = ( + A0900E7228605EC300B8D2CB /* Runner.entitlements */, 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */, 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */, 97C146FA1CF9000F007C117D /* Main.storyboard */, @@ -382,6 +384,7 @@ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; DEVELOPMENT_TEAM = 35RHL53WRE; ENABLE_BITCODE = NO; @@ -515,6 +518,7 @@ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; DEVELOPMENT_TEAM = 35RHL53WRE; ENABLE_BITCODE = NO; @@ -543,6 +547,7 @@ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; DEVELOPMENT_TEAM = 35RHL53WRE; ENABLE_BITCODE = NO; diff --git a/example/ios/Runner/Runner.entitlements b/example/ios/Runner/Runner.entitlements new file mode 100644 index 0000000..903def2 --- /dev/null +++ b/example/ios/Runner/Runner.entitlements @@ -0,0 +1,8 @@ + + + + + aps-environment + development + + From b2a6695a7084ef5504bb5a3cc1c4e310bca9b6d0 Mon Sep 17 00:00:00 2001 From: Aldrich Co Date: Wed, 22 Jun 2022 13:33:03 +0200 Subject: [PATCH 4/6] Update changelog (and iOS podspec to use Anyline 40.0.0) --- CHANGELOG.md | 10 ++- example/ios/Podfile.lock | 20 +++--- example/ios/Runner.xcodeproj/project.pbxproj | 69 ++++++++++---------- example/ios/Runner/Info.plist | 4 +- example/pubspec.lock | 18 ++--- ios/anyline_plugin.podspec | 4 +- 6 files changed, 68 insertions(+), 57 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ea80315..10c9f56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ # 40.0.0 -- TODO +### TIN +- `tinConfig` had been removed as a config for `ocrPlugin` in this release. Please use `tinConfig` from within `tirePlugin` instead. + +### Universal ID + +- Added support for the latest ID versions of the following US states: New York, Texas, and New Jersey (also Driver License) +- Added support for the following identification cards in Cyrillic: Bulgaria, Serbia +- Improved scanning for France driving license +- Improved scanning for Jordan identification card ## 39.0.0 diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 7922764..ba0e206 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,12 +1,12 @@ PODS: - - Anyline (39.0.0) - - anyline_plugin (39.0.0): - - Anyline (= 39.0.0) + - Anyline (40.0.0) + - anyline_plugin (40.0.0): + - Anyline (= 40.0.0) - Flutter - Flutter (1.0.0) - path_provider_ios (0.0.1): - Flutter - - "permission_handler (5.1.0+2)": + - permission_handler_apple (9.0.4): - Flutter - shared_preferences_ios (0.0.1): - Flutter @@ -15,7 +15,7 @@ DEPENDENCIES: - anyline_plugin (from `.symlinks/plugins/anyline_plugin/ios`) - Flutter (from `Flutter`) - path_provider_ios (from `.symlinks/plugins/path_provider_ios/ios`) - - permission_handler (from `.symlinks/plugins/permission_handler/ios`) + - permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`) - shared_preferences_ios (from `.symlinks/plugins/shared_preferences_ios/ios`) SPEC REPOS: @@ -29,17 +29,17 @@ EXTERNAL SOURCES: :path: Flutter path_provider_ios: :path: ".symlinks/plugins/path_provider_ios/ios" - permission_handler: - :path: ".symlinks/plugins/permission_handler/ios" + permission_handler_apple: + :path: ".symlinks/plugins/permission_handler_apple/ios" shared_preferences_ios: :path: ".symlinks/plugins/shared_preferences_ios/ios" SPEC CHECKSUMS: - Anyline: e15e0acad1b8ef2fa66ae9ecacb46d9a70fab166 - anyline_plugin: 80321420a3a4fb76d5b77208281d1f48acbc411a + Anyline: 7d19e2dce1a99e2a5176b9b9855a60832c4bf14e + anyline_plugin: 352c1f82a7715f25d278fb84992243d97541036b Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a path_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02 - permission_handler: ccb20a9fad0ee9b1314a52b70b76b473c5f8dab0 + permission_handler_apple: 44366e37eaf29454a1e7b1b7d736c2cceaeb17ce shared_preferences_ios: 548a61f8053b9b8a49ac19c1ffbc8b92c50d68ad PODFILE CHECKSUM: 8f522979e3f0c708f1d45db223b2aecbf369433f diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj index a1e6f4a..b4931c7 100644 --- a/example/ios/Runner.xcodeproj/project.pbxproj +++ b/example/ios/Runner.xcodeproj/project.pbxproj @@ -151,8 +151,8 @@ 97C146EC1CF9000F007C117D /* Resources */, 9705A1C41CF9048500538489 /* Embed Frameworks */, 3B06AD1E1E4923F5004D2608 /* Thin Binary */, - 3B3CABDDAF57AC1EFBEE6375 /* [CP] Copy Pods Resources */, - 816B3E1790B197A4BC471114 /* [CP] Embed Pods Frameworks */, + B1A215792A1D049802E67BF9 /* [CP] Embed Pods Frameworks */, + DF54B6932CE4994448C18B75 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -224,75 +224,75 @@ shellPath = /bin/sh; shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; }; - 3B3CABDDAF57AC1EFBEE6375 /* [CP] Copy Pods Resources */ = { + 943322417DFE701F1DA75939 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", ); - name = "[CP] Copy Pods Resources"; + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - 816B3E1790B197A4BC471114 /* [CP] Embed Pods Frameworks */ = { + 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", + inputPaths = ( ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", + name = "Run Script"; + outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; - showEnvVarsInLog = 0; + shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; }; - 943322417DFE701F1DA75939 /* [CP] Check Pods Manifest.lock */ = { + B1A215792A1D049802E67BF9 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; + name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; - 9740EEB61CF901F6004384FC /* Run Script */ = { + DF54B6932CE4994448C18B75 /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); - inputPaths = ( + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", ); - name = "Run Script"; - outputPaths = ( + name = "[CP] Copy Pods Resources"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; + showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ @@ -385,7 +385,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + CURRENT_PROJECT_VERSION = 2; DEVELOPMENT_TEAM = 35RHL53WRE; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( @@ -402,6 +402,7 @@ "$(inherited)", "$(PROJECT_DIR)/Flutter", ); + MARKETING_VERSION = 40.0.0; PRODUCT_BUNDLE_IDENTIFIER = io.anyline.flutter.examples; PRODUCT_NAME = "$(TARGET_NAME)"; VERSIONING_SYSTEM = "apple-generic"; @@ -519,7 +520,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + CURRENT_PROJECT_VERSION = 2; DEVELOPMENT_TEAM = 35RHL53WRE; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( @@ -536,6 +537,7 @@ "$(inherited)", "$(PROJECT_DIR)/Flutter", ); + MARKETING_VERSION = 40.0.0; PRODUCT_BUNDLE_IDENTIFIER = io.anyline.flutter.examples; PRODUCT_NAME = "$(TARGET_NAME)"; VERSIONING_SYSTEM = "apple-generic"; @@ -548,7 +550,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + CURRENT_PROJECT_VERSION = 2; DEVELOPMENT_TEAM = 35RHL53WRE; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( @@ -565,6 +567,7 @@ "$(inherited)", "$(PROJECT_DIR)/Flutter", ); + MARKETING_VERSION = 40.0.0; PRODUCT_BUNDLE_IDENTIFIER = io.anyline.flutter.examples; PRODUCT_NAME = "$(TARGET_NAME)"; VERSIONING_SYSTEM = "apple-generic"; diff --git a/example/ios/Runner/Info.plist b/example/ios/Runner/Info.plist index 1e7f9e9..57c2700 100644 --- a/example/ios/Runner/Info.plist +++ b/example/ios/Runner/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) + $(MARKETING_VERSION) CFBundleSignature ???? CFBundleVersion - $(FLUTTER_BUILD_NUMBER) + $(CURRENT_PROJECT_VERSION) LSRequiresIPhoneOS NSCameraUsageDescription diff --git a/example/pubspec.lock b/example/pubspec.lock index 5c9580d..018c570 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -49,7 +49,7 @@ packages: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.16.0" + version: "1.15.0" crypto: dependency: transitive description: @@ -70,7 +70,7 @@ packages: name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "1.3.0" + version: "1.2.0" ffi: dependency: transitive description: @@ -134,7 +134,7 @@ packages: name: js url: "https://pub.dartlang.org" source: hosted - version: "0.6.4" + version: "0.6.3" matcher: dependency: transitive description: @@ -148,7 +148,7 @@ packages: name: material_color_utilities url: "https://pub.dartlang.org" source: hosted - version: "0.1.4" + version: "0.1.3" meta: dependency: transitive description: @@ -162,7 +162,7 @@ packages: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.1" + version: "1.8.0" path_provider: dependency: transitive description: @@ -342,7 +342,7 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.2" + version: "1.8.1" stack_trace: dependency: transitive description: @@ -377,7 +377,7 @@ packages: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.4.9" + version: "0.4.8" typed_data: dependency: transitive description: @@ -391,7 +391,7 @@ packages: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.2" + version: "2.1.1" win32: dependency: transitive description: @@ -407,5 +407,5 @@ packages: source: hosted version: "0.2.0+1" sdks: - dart: ">=2.17.0-0 <3.0.0" + dart: ">=2.15.0 <3.0.0" flutter: ">=2.10.0-0" diff --git a/ios/anyline_plugin.podspec b/ios/anyline_plugin.podspec index fb9f4fc..d5d4783 100644 --- a/ios/anyline_plugin.podspec +++ b/ios/anyline_plugin.podspec @@ -4,7 +4,7 @@ # Pod::Spec.new do |s| s.name = 'anyline_plugin' - s.version = '40.0.0-rc.1' + s.version = '40.0.0' s.summary = 'Anyline SDK' s.description = <<-DESC Anyline OCR Module @@ -16,7 +16,7 @@ Anyline OCR Module s.source_files = 'Classes/**/*' s.public_header_files = 'Classes/**/*.h' s.dependency 'Flutter' - s.dependency 'Anyline', '40.0.0-rc.1' + s.dependency 'Anyline', '40.0.0' s.static_framework = true s.platform = :ios, '12.0' s.ios.deployment_target = '12.0' From 536e629c55034a8c02fa727cfe3c59bca3948bcf Mon Sep 17 00:00:00 2001 From: Bernd Kampl Date: Wed, 22 Jun 2022 13:53:56 +0200 Subject: [PATCH 5/6] Add Android-relevant changes to Changelog.md --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 10c9f56..81f56cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,18 @@ - Improved scanning for France driving license - Improved scanning for Jordan identification card +### License Plate + +- Removed the charWhitelist parameter from the LPT plugin in the SDK + +### Tire + +- Improved: (Android) the Camera Exposure is now increased for all of the Tire products to improve the scanning capability + +### General + +- Fixed: (Android) If the License Key allows it, integrating apps that force-remove the Internet Permission via AndroidManifest will not produce a crash anymore + ## 39.0.0 - Updated to Anyline 39.0.0 From 2461d49dedb48d54f4429b023e0d7f0bccbfa737 Mon Sep 17 00:00:00 2001 From: Bernd Kampl Date: Wed, 22 Jun 2022 14:02:18 +0200 Subject: [PATCH 6/6] Update Android part to 40.0.0 --- android/build.gradle | 2 +- example/pubspec.lock | 20 ++++++++++---------- example/pubspec.yaml | 2 +- pubspec.yaml | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 4e75cb4..2117176 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -4,7 +4,7 @@ version '1.0' buildscript { ext { - anyline_sdk_version = "40.0.0-rc.1" + anyline_sdk_version = "40.0.0" kotlin_version = "1.6.10" } repositories { diff --git a/example/pubspec.lock b/example/pubspec.lock index 018c570..4c7b724 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -7,7 +7,7 @@ packages: path: ".." relative: true source: path - version: "40.0.0-rc.1" + version: "40.0.0" async: dependency: transitive description: @@ -49,7 +49,7 @@ packages: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.15.0" + version: "1.16.0" crypto: dependency: transitive description: @@ -70,7 +70,7 @@ packages: name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "1.2.0" + version: "1.3.0" ffi: dependency: transitive description: @@ -134,7 +134,7 @@ packages: name: js url: "https://pub.dartlang.org" source: hosted - version: "0.6.3" + version: "0.6.4" matcher: dependency: transitive description: @@ -148,7 +148,7 @@ packages: name: material_color_utilities url: "https://pub.dartlang.org" source: hosted - version: "0.1.3" + version: "0.1.4" meta: dependency: transitive description: @@ -162,7 +162,7 @@ packages: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.0" + version: "1.8.1" path_provider: dependency: transitive description: @@ -342,7 +342,7 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.1" + version: "1.8.2" stack_trace: dependency: transitive description: @@ -377,7 +377,7 @@ packages: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.4.8" + version: "0.4.9" typed_data: dependency: transitive description: @@ -391,7 +391,7 @@ packages: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.1" + version: "2.1.2" win32: dependency: transitive description: @@ -407,5 +407,5 @@ packages: source: hosted version: "0.2.0+1" sdks: - dart: ">=2.15.0 <3.0.0" + dart: ">=2.17.0-0 <3.0.0" flutter: ">=2.10.0-0" diff --git a/example/pubspec.yaml b/example/pubspec.yaml index b6d4d5b..df39b06 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -1,6 +1,6 @@ name: anyline_plugin_example description: Demonstrates how to use the anyline_plugin plugin. -version: 40.0.0-rc.1 +version: 40.0.0 # The following line prevents the package from being accidentally published to # pub.dev using `pub publish`. This is preferred for private packages. diff --git a/pubspec.yaml b/pubspec.yaml index 6e19d4c..8af4c4a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: anyline_plugin description: Flutter Plugin for Anyline OCR, which allows you to scan all kinds of numbers, characters, text and codes. -version: 40.0.0-rc.1 +version: 40.0.0 homepage: https://anyline.com repository: https://github.com/Anyline/anyline-ocr-flutter-module documentation: https://documentation.anyline.com