Skip to content

Commit

Permalink
Documentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
medvedecrobertmb committed Apr 23, 2024
1 parent 58c8e17 commit 4b4fdc8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 17 deletions.
8 changes: 7 additions & 1 deletion Release notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

- 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 LibBlinkCard
- 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
Expand Down Expand Up @@ -146,6 +146,12 @@
#### Deprecated Functionality:
- `IdBarcodeRecognizer` is now marked as deprecated. We recommend transitioning to `BlinkIdMultiSideRecognizer`, which not only covers the functionality of `IdBarcodeRecognizer` but also offers additional features.

#### Breaking changes
- Add `shouldShowTorchButton` and `shouldShowCancelButton` to `ReticleOverlayView` constructor.
- 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

## v6.5.1
- Improved scanning of Bolivia IDs by addressing cases where the expiration date is covered by a signature, allowing the completion of the scanning process.
Expand Down
31 changes: 15 additions & 16 deletions Transition-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,22 @@

### IDBarcodeRecognizer
- `IdBarcodeRecognizer` is now deprecated as it is no longer maintained and all of its functionalities are available with `BlinkIdSingleSideRecognizer` and `BlinkIdMultiSideRecognizer`
- To achieve the same `IdBarcodeRecognizer` behavior with the BlinkID generic recognizers, the `RecognitionModeFilter` must be limited to only the `BarcodeId` recognition mode:
```
recognizer = BlinkIdSingleSideRecognizer()
val recognitionModeFilter: RecognitionModeFilter = RecognitionModeFilter(false, false, false, false, true, false)
recognizer.recognitionModeFilter = recognitionModeFilter
```
- The results are obtained by directly using the `result` or `barcodeResult` property from the recognizer result:

```
recognizerBundle.loadFromIntent(data)
val result: BlinkIdSingleSideRecognizer.Result = recognizer.result
val name = result.firstName?.value()
//or
val barcodeResult: BlinkIdSingleSideRecognizer.Result = recognizer.result.barcodeResult
var barcodeFirstName = barcodeResult.firstName
- To achieve the same `IdBarcodeRecognizer` behavior with the BlinkID generic recognizers, the `RecognitionModeFilter` must be limited to only the `BarcodeId` recognition mode:
```
recognizer = BlinkIdSingleSideRecognizer()
val recognitionModeFilter: RecognitionModeFilter = RecognitionModeFilter(false, false, false, false, true, false)
recognizer.recognitionModeFilter = recognitionModeFilter
```
- The results are obtained by directly using the `result` or `barcodeResult` property from the recognizer result:
```
recognizerBundle.loadFromIntent(data)
val result: BlinkIdSingleSideRecognizer.Result = recognizer.result
val name = result.firstName?.value()
//or
val barcodeResult: BlinkIdSingleSideRecognizer.Result = recognizer.result.barcodeResult
var barcodeFirstName = barcodeResult.firstName
```
```

# Transition to BlinkID v6.0.0
## Breaking changes
Expand Down

0 comments on commit 4b4fdc8

Please sign in to comment.