diff --git a/BlinkIDSample/BlinkID-ComposeFragmentSample/src/main/AndroidManifest.xml b/BlinkIDSample/BlinkID-ComposeFragmentSample/src/main/AndroidManifest.xml index 5dd451e8..bac70ad8 100644 --- a/BlinkIDSample/BlinkID-ComposeFragmentSample/src/main/AndroidManifest.xml +++ b/BlinkIDSample/BlinkID-ComposeFragmentSample/src/main/AndroidManifest.xml @@ -1,8 +1,6 @@ - - - - - - - - diff --git a/BlinkIDSample/LibUtils/src/main/assets/com.microblink.blinkid.mblic b/BlinkIDSample/LibUtils/src/main/assets/com.microblink.blinkid.mblic new file mode 100644 index 00000000..e1ebf682 Binary files /dev/null and b/BlinkIDSample/LibUtils/src/main/assets/com.microblink.blinkid.mblic differ diff --git a/BlinkIDSample/LibUtils/src/main/java/com/microblink/BlinkIdSampleApp.java b/BlinkIDSample/LibUtils/src/main/java/com/microblink/BlinkIdSampleApp.java index f26df571..ae53c94a 100644 --- a/BlinkIDSample/LibUtils/src/main/java/com/microblink/BlinkIdSampleApp.java +++ b/BlinkIDSample/LibUtils/src/main/java/com/microblink/BlinkIdSampleApp.java @@ -12,8 +12,8 @@ protected BaseResultExtractorFactory createResultExtractorFactory() { } @Override - protected String getLicenseKey() { - return "sRwCABZjb20ubWljcm9ibGluay5ibGlua2lkAGxleUpEY21WaGRHVmtUMjRpT2pFM01URXdNamd4TnpVeU5qQXNJa055WldGMFpXUkdiM0lpT2lKa1pHUXdOalpsWmkwMU9ESXpMVFF3TURndE9UUTRNQzAxTkRVNFlqQXhZVFUyWWpnaWZRPT0XQSGw4MlSYFI4GLBuTrvzIIXpisl+k7h/R9V8iUNw+edq0mlVNOnFqeHImrWXu8UbaKaxqggm6j+lxv818EBLdZ3EaqbZnHZxvOJ2r6SmLdfH8BKXU8OQkyr0VLU4be2TM2DmktEjagaIbkikp96uNyEKCx/3ag=="; + protected String getLicenceFilePath() { + return "com.microblink.blinkid.mblic"; } -} +} \ No newline at end of file diff --git a/BlinkIDSample/LibUtils/src/main/java/com/microblink/blinkid/SampleApplication.java b/BlinkIDSample/LibUtils/src/main/java/com/microblink/blinkid/SampleApplication.java index 967f470b..49291715 100644 --- a/BlinkIDSample/LibUtils/src/main/java/com/microblink/blinkid/SampleApplication.java +++ b/BlinkIDSample/LibUtils/src/main/java/com/microblink/blinkid/SampleApplication.java @@ -34,9 +34,9 @@ public void onCreate() { } if (isRecognitionSupported) { - String licenseKey = getLicenseKey(); - if (licenseKey != null) { - MicroblinkSDK.setLicenseKey(licenseKey, this); + String licenseFilePath = getLicenceFilePath(); + if (licenseFilePath != null) { + MicroblinkSDK.setLicenseFile(licenseFilePath, this); } MicroblinkSDK.setIntentDataTransferMode(IntentDataTransferMode.PERSISTED_OPTIMISED); } @@ -50,6 +50,6 @@ public void onCreate() { protected abstract BaseResultExtractorFactory createResultExtractorFactory(); - protected abstract String getLicenseKey(); + protected abstract String getLicenceFilePath(); } diff --git a/BlinkIDSample/build.gradle b/BlinkIDSample/build.gradle index bce7202f..bcfa0568 100644 --- a/BlinkIDSample/build.gradle +++ b/BlinkIDSample/build.gradle @@ -25,7 +25,7 @@ allprojects { // versions of libraries that all modules require project.ext { - blinkIdVersion = '6.6.0' + blinkIdVersion = '6.6.1' compileSdkVersion = 34 targetSdkVersion = 34 appCompatVersion = '1.6.1' diff --git a/LibBlinkID-javadoc.jar b/LibBlinkID-javadoc.jar index f3789a4c..b5ad9042 100644 Binary files a/LibBlinkID-javadoc.jar and b/LibBlinkID-javadoc.jar differ diff --git a/LibBlinkID.aar b/LibBlinkID.aar index 97d0654a..f019cba6 100644 Binary files a/LibBlinkID.aar and b/LibBlinkID.aar differ diff --git a/README.md b/README.md index fab10e05..a882f591 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ Add _BlinkID_ as a dependency and make sure `transitive` is set to true ``` dependencies { - implementation('com.microblink:blinkid:6.6.0@aar') { + implementation('com.microblink:blinkid:6.6.1@aar') { transitive = true } } @@ -126,7 +126,7 @@ Android studio should automatically import javadoc from maven dependency. If tha 1. In Android Studio project sidebar, ensure [project view is enabled](https://developer.android.com/studio/projects#ProjectView) 2. Expand `External Libraries` entry (usually this is the last entry in project view) -3. Locate `blinkid-6.6.0` entry, right click on it and select `Library Properties...` +3. Locate `blinkid-6.6.1` entry, right click on it and select `Library Properties...` 4. A `Library Properties` pop-up window will appear 5. Click the second `+` button in bottom left corner of the window (the one that contains `+` with little globe) 6. Window for defining documentation URL will appear diff --git a/Release notes.md b/Release notes.md index 8704ba80..23a21ba0 100644 --- a/Release notes.md +++ b/Release notes.md @@ -1,5 +1,12 @@ # Release notes +## v6.6.1 + +- fixed URL of the server performing online license check when it's enabled + - in v9.1.1 the URL depended on the `BUILD_TYPE` property, pointing to production server only when `BUILD_TYPE` was set to `distribute`. However, apparently the `BUILD_TYPE` is not a compile-time property on Android like it's on other platforms and native code, so it was affected by the setting of the app that was integrating the SDK and that caused the SDK to call to a dev server which is unavailable from the external network +- added `android.permission.INTERNET` permission to the manifest of `LibBlinkID` + - this permission is needed in order to correctly perform license key validation for licenses that require that + ## v6.6.0 ### Document Updates @@ -118,7 +125,7 @@ - Splitting up `Image` class to `Image` and `InputImage`.`InputImage` is to be used as an input to the recognizers. `Image` will be the result of recognizer processing. #### Bugfixes -- Fixed `Background ANR at jdk.internal.misc.Unsafe.park` that would happen in rare cases +- Fixed `Background ANR at jdk.internal.misc.Unsafe.park` that would happen in rare cases ## v6.5.1 diff --git a/builtFromCommit.txt b/builtFromCommit.txt index fd25953f..4dbcadac 100644 --- a/builtFromCommit.txt +++ b/builtFromCommit.txt @@ -1 +1 @@ -Built from commit 6ee9bbf0226d1b67fa63542579075023695a711a +Built from commit 5dd6a70f4dd2d45b04d7bc21a5f0114e9f0e16a3 diff --git a/pom.xml b/pom.xml index 155aa11c..e37974fa 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.microblink blinkid - 6.6.0 + 6.6.1 aar BlinkID SDK for Android SDK that enables scanning of ID documents and passports in your Android application