Skip to content

Commit

Permalink
Merge pull request #130 from BlinkID/release/v5.6.1
Browse files Browse the repository at this point in the history
update for 5.6.1
  • Loading branch information
dCubelic authored Jul 29, 2020
2 parents a33354c + 83128d1 commit a6e265f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BlinkID/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "blinkid-cordova",
"version": "5.6.0",
"version": "5.6.1",
"description": "A small and powerful ID card scanning library",
"cordova": {
"id": "blinkid-cordova",
Expand Down
2 changes: 1 addition & 1 deletion BlinkID/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="blinkid-cordova"
version="5.6.0">
version="5.6.1">

<name>BlinkIdScanner</name>
<description>A small and powerful ID card scanning library</description>
Expand Down
2 changes: 1 addition & 1 deletion BlinkID/src/ios/sources/MBBlinkIDSerializationUtils.m
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ +(NSDictionary *) serializeVizResult:(MBVizResult *)vizResult {

+(NSDictionary *) serializeBarcodeResult:(MBBarcodeResult *)barcodeResult {
return @{
@"rawData" : barcodeResult.rawData,
@"rawData" : [barcodeResult.rawData base64EncodedStringWithOptions:0],
@"stringData" : barcodeResult.stringData,
@"uncertain" : [NSNumber numberWithBool:barcodeResult.uncertain],
@"barcodeType" : [NSNumber numberWithInteger:(barcodeResult.barcodeType + 1)],
Expand Down
3 changes: 3 additions & 0 deletions Release notes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 5.6.1
- Fixed `MBBarcodeResult rawData` serialization which caused crashes on iOS.

## 5.6.0
- Updated to [Android SDK v5.6.0](https://github.com/BlinkID/blinkid-android/releases/tag/v5.6.0) and [iOS SDK v5.6.0](https://github.com/BlinkID/blinkid-ios/releases/tag/v5.6.0)

Expand Down

0 comments on commit a6e265f

Please sign in to comment.