Skip to content

Commit 6c919ad

Browse files
Merge pull request #320 from BlinkID/release/v6.6.1
Release/v6.6.1
2 parents f14e2f9 + ce6b9a5 commit 6c919ad

File tree

18 files changed

+21
-22
lines changed

18 files changed

+21
-22
lines changed

BlinkIDSample/BlinkID-ComposeFragmentSample/src/main/AndroidManifest.xml

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
33

4-
<uses-permission android:name="android.permission.INTERNET" />
5-
64
<application
75
android:name="com.microblink.BlinkIdSampleApp"
86
android:allowBackup="true"

BlinkIDSample/BlinkID-ComposeMinimalSample/src/main/AndroidManifest.xml

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
33

4-
<uses-permission android:name="android.permission.INTERNET" />
5-
64
<application
75
android:name="com.microblink.blinkid.BlinkIdSampleApp"
86
android:allowBackup="true"

BlinkIDSample/BlinkID-MinimalSampleAdvanced/src/main/AndroidManifest.xml

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
android:versionName="1">
55

66
<uses-permission android:name="android.permission.CAMERA" />
7-
<uses-permission android:name="android.permission.INTERNET" />
87

98
<uses-feature
109
android:name="android.hardware.camera"

BlinkIDSample/BlinkID-aMinimalSample/src/main/AndroidManifest.xml

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
android:versionCode="1"
44
android:versionName="1">
55

6-
<uses-permission android:name="android.permission.INTERNET" />
76
<uses-permission android:name="android.permission.CAMERA" />
87

98
<uses-feature

BlinkIDSample/BlinkID-aMinimalSample/src/main/java/com/microblink/blinkid/BlinkIdSampleApp.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class BlinkIdSampleApp : Application() {
88
override fun onCreate() {
99
super.onCreate()
1010
// obtain your licence at http://microblink.com/login or contact us at http://help.microblink.com
11-
MicroblinkSDK.setLicenseKey("sRwCABZjb20ubWljcm9ibGluay5ibGlua2lkAGxleUpEY21WaGRHVmtUMjRpT2pFM01URXdNamd4TnpVeU5qQXNJa055WldGMFpXUkdiM0lpT2lKa1pHUXdOalpsWmkwMU9ESXpMVFF3TURndE9UUTRNQzAxTkRVNFlqQXhZVFUyWWpnaWZRPT0XQSGw4MlSYFI4GLBuTrvzIIXpisl+k7h/R9V8iUNw+edq0mlVNOnFqeHImrWXu8UbaKaxqggm6j+lxv818EBLdZ3EaqbZnHZxvOJ2r6SmLdfH8BKXU8OQkyr0VLU4be2TM2DmktEjagaIbkikp96uNyEKCx/3ag==", this)
11+
MicroblinkSDK.setLicenseFile("com.microblink.blinkid.mblic", this)
1212

1313
// use optimised way for transferring RecognizerBundle between activities, while ensuring
1414
// data does not get lost when Android restarts the scanning activity

BlinkIDSample/LibUtils/src/main/AndroidManifest.xml

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
22

3-
<uses-permission android:name="android.permission.INTERNET" />
4-
53
<application>
64
<activity android:name="com.microblink.blinkid.help.HelpActivity"/>
75
<activity android:name="com.microblink.blinkid.result.activity.RecognizerBundleResultActivity"/>
Binary file not shown.

BlinkIDSample/LibUtils/src/main/java/com/microblink/BlinkIdSampleApp.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ protected BaseResultExtractorFactory createResultExtractorFactory() {
1212
}
1313

1414
@Override
15-
protected String getLicenseKey() {
16-
return "sRwCABZjb20ubWljcm9ibGluay5ibGlua2lkAGxleUpEY21WaGRHVmtUMjRpT2pFM01URXdNamd4TnpVeU5qQXNJa055WldGMFpXUkdiM0lpT2lKa1pHUXdOalpsWmkwMU9ESXpMVFF3TURndE9UUTRNQzAxTkRVNFlqQXhZVFUyWWpnaWZRPT0XQSGw4MlSYFI4GLBuTrvzIIXpisl+k7h/R9V8iUNw+edq0mlVNOnFqeHImrWXu8UbaKaxqggm6j+lxv818EBLdZ3EaqbZnHZxvOJ2r6SmLdfH8BKXU8OQkyr0VLU4be2TM2DmktEjagaIbkikp96uNyEKCx/3ag==";
15+
protected String getLicenceFilePath() {
16+
return "com.microblink.blinkid.mblic";
1717
}
1818

19-
}
19+
}

BlinkIDSample/LibUtils/src/main/java/com/microblink/blinkid/SampleApplication.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ public void onCreate() {
3434
}
3535

3636
if (isRecognitionSupported) {
37-
String licenseKey = getLicenseKey();
38-
if (licenseKey != null) {
39-
MicroblinkSDK.setLicenseKey(licenseKey, this);
37+
String licenseFilePath = getLicenceFilePath();
38+
if (licenseFilePath != null) {
39+
MicroblinkSDK.setLicenseFile(licenseFilePath, this);
4040
}
4141
MicroblinkSDK.setIntentDataTransferMode(IntentDataTransferMode.PERSISTED_OPTIMISED);
4242
}
@@ -50,6 +50,6 @@ public void onCreate() {
5050

5151
protected abstract BaseResultExtractorFactory createResultExtractorFactory();
5252

53-
protected abstract String getLicenseKey();
53+
protected abstract String getLicenceFilePath();
5454

5555
}

BlinkIDSample/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ allprojects {
2525
// versions of libraries that all modules require
2626

2727
project.ext {
28-
blinkIdVersion = '6.6.0'
28+
blinkIdVersion = '6.6.1'
2929
compileSdkVersion = 34
3030
targetSdkVersion = 34
3131
appCompatVersion = '1.6.1'

LibBlinkID-javadoc.jar

0 Bytes
Binary file not shown.

LibBlinkID.aar

-1.46 KB
Binary file not shown.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Add _BlinkID_ as a dependency and make sure `transitive` is set to true
114114

115115
```
116116
dependencies {
117-
implementation('com.microblink:blinkid:6.6.0@aar') {
117+
implementation('com.microblink:blinkid:6.6.1@aar') {
118118
transitive = true
119119
}
120120
}
@@ -126,7 +126,7 @@ Android studio should automatically import javadoc from maven dependency. If tha
126126

127127
1. In Android Studio project sidebar, ensure [project view is enabled](https://developer.android.com/studio/projects#ProjectView)
128128
2. Expand `External Libraries` entry (usually this is the last entry in project view)
129-
3. Locate `blinkid-6.6.0` entry, right click on it and select `Library Properties...`
129+
3. Locate `blinkid-6.6.1` entry, right click on it and select `Library Properties...`
130130
4. A `Library Properties` pop-up window will appear
131131
5. Click the second `+` button in bottom left corner of the window (the one that contains `+` with little globe)
132132
6. Window for defining documentation URL will appear

Release notes.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Release notes
22

3+
## v6.6.1
4+
5+
- fixed URL of the server performing online license check when it's enabled
6+
- 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
7+
- added `android.permission.INTERNET` permission to the manifest of `LibBlinkID`
8+
- this permission is needed in order to correctly perform license key validation for licenses that require that
9+
310
## v6.6.0
411

512
### Document Updates
@@ -118,7 +125,7 @@
118125
- 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.
119126

120127
#### Bugfixes
121-
- Fixed `Background ANR at jdk.internal.misc.Unsafe.park` that would happen in rare cases
128+
- Fixed `Background ANR at jdk.internal.misc.Unsafe.park` that would happen in rare cases
122129

123130

124131
## v6.5.1

builtFromCommit.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Built from commit 6ee9bbf0226d1b67fa63542579075023695a711a
1+
Built from commit 5dd6a70f4dd2d45b04d7bc21a5f0114e9f0e16a3

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.microblink</groupId>
55
<artifactId>blinkid</artifactId>
6-
<version>6.6.0</version>
6+
<version>6.6.1</version>
77
<packaging>aar</packaging>
88
<name>BlinkID SDK for Android</name>
99
<description>SDK that enables scanning of ID documents and passports in your Android application</description>

0 commit comments

Comments
 (0)