Skip to content

Commit

Permalink
Merge pull request #58 from BlinkID/release/5.9.0
Browse files Browse the repository at this point in the history
Release/5.9.0
  • Loading branch information
juraskrlec authored Dec 16, 2020
2 parents b4732b9 + f892bd3 commit 23b2071
Show file tree
Hide file tree
Showing 185 changed files with 3,535 additions and 1,897 deletions.
6 changes: 3 additions & 3 deletions Binding/Android/AndroidBinding.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
<AndroidClassParser>class-parse</AndroidClassParser>
<PackageId>BlinkID.Android.Binding</PackageId>
<PackageVersion>5.8.0</PackageVersion>
<PackageVersion>5.9.0</PackageVersion>
<Authors>Microblink</Authors>
<Owners>Microblink</Owners>
<PackageProjectUrl>https://github.com/blinkid/blinkid-xamarin</PackageProjectUrl>
<PackageReleaseNotes>Updated to BlinkID Android SDK v5.8.0
<PackageReleaseNotes>Updated to BlinkID Android SDK v5.9.0

https://github.com/BlinkID/blinkid-android/releases/tag/v5.8.0</PackageReleaseNotes>
https://github.com/BlinkID/blinkid-android/releases/tag/v5.9.0</PackageReleaseNotes>
<Summary>A small, but powerful ID scanning library - native Android SDK binding package.</Summary>
<Title>BlinkID</Title>
<Description>A small, but powerful ID scanning library - native Android SDK binding package.</Description>
Expand Down
4 changes: 2 additions & 2 deletions Binding/Android/Jars/LibBlinkID.aar
Git LFS file not shown
2 changes: 1 addition & 1 deletion Binding/Android/Transforms/Metadata.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<remove-node path="/api/package[starts-with(@name, 'com.microblink.secured')]" />
<remove-node path="/api/package[starts-with(@name, 'com.microblink.blinkid.secured')]" />
<remove-node path="/api/package[starts-with(@name, 'com.microblink.library')]" />
<remove-node path="/api/package[starts-with(@name, 'com.microblink.hardware')]/class[@name!='CameraSettings' and @extends!='java.lang.Enum']" />
<remove-node path="/api/package[starts-with(@name, 'com.microblink.ocr')]" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
<PackageId>BlinkID.Forms.Android</PackageId>
<PackageVersion>5.8.0</PackageVersion>
<PackageVersion>5.9.0</PackageVersion>
<Authors>Microblink</Authors>
<Owners>Microblink</Owners>
<PackageProjectUrl>https://github.com/blinkid/blinkid-xamarin</PackageProjectUrl>
Expand All @@ -23,9 +23,9 @@
<Description>A small, but powerful ID scanning library - Android implementation for Xamarin Forms.</Description>
<ReleaseVersion>4.0.0</ReleaseVersion>
<PackOnBuild>true</PackOnBuild>
<PackageReleaseNotes>Updated for BlinkID Android SDK v5.8.0
<PackageReleaseNotes>Updated for BlinkID Android SDK v5.9.0

https://github.com/BlinkID/blinkid-android/releases/tag/v5.8.0</PackageReleaseNotes>
https://github.com/BlinkID/blinkid-android/releases/tag/v5.9.0</PackageReleaseNotes>
<!-- Workaround for build error -->
<DesignTimeBuild>false</DesignTimeBuild>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ public AnonymizationMode AnonymizationMode
set => nativeRecognizer.AnonymizationMode = Com.Microblink.Entities.Recognizers.Blinkid.Generic.AnonymizationMode.Values()[(int)value];
}

public uint FaceImageDpi
public int FaceImageDpi
{
get => (uint)nativeRecognizer.FaceImageDpi;
get => nativeRecognizer.FaceImageDpi;
set => nativeRecognizer.FaceImageDpi = (int)value;
}

public uint FullDocumentImageDpi
public int FullDocumentImageDpi
{
get => (uint)nativeRecognizer.FullDocumentImageDpi;
get => nativeRecognizer.FullDocumentImageDpi;
set => nativeRecognizer.FullDocumentImageDpi = (int)value;
}

Expand Down Expand Up @@ -99,9 +99,9 @@ public bool SignResult
set => nativeRecognizer.SetSignResult(value);
}

public uint SignatureImageDpi
public int SignatureImageDpi
{
get => (uint)nativeRecognizer.SignatureImageDpi;
get => nativeRecognizer.SignatureImageDpi;
set => nativeRecognizer.SignatureImageDpi = (int)value;
}

Expand Down Expand Up @@ -140,10 +140,11 @@ internal BlinkIdCombinedRecognizerResult(Com.Microblink.Entities.Recognizers.Bli
public bool DateOfExpiryPermanent => nativeResult.IsDateOfExpiryPermanent;
public IDate DateOfIssue => nativeResult.DateOfIssue.Date != null ? new Date(nativeResult.DateOfIssue.Date) : null;
public byte[] DigitalSignature => nativeResult.GetDigitalSignature();
public uint DigitalSignatureVersion => (uint)nativeResult.DigitalSignatureVersion;
public int DigitalSignatureVersion => (int)nativeResult.DigitalSignatureVersion;
public string DocumentAdditionalNumber => nativeResult.DocumentAdditionalNumber;
public DataMatchResult DocumentDataMatch => (DataMatchResult)nativeResult.DocumentDataMatch.Ordinal();
public string DocumentNumber => nativeResult.DocumentNumber;
public string DocumentOptionalAdditionalNumber => nativeResult.DocumentOptionalAdditionalNumber;
public IDriverLicenseDetailedInfo DriverLicenseDetailedInfo => new DriverLicenseDetailedInfo(nativeResult.DriverLicenseDetailedInfo);
public string Employer => nativeResult.Employer;
public bool Expired => nativeResult.IsExpired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ public AnonymizationMode AnonymizationMode
set => nativeRecognizer.AnonymizationMode = Com.Microblink.Entities.Recognizers.Blinkid.Generic.AnonymizationMode.Values()[(int)value];
}

public uint FaceImageDpi
public int FaceImageDpi
{
get => (uint)nativeRecognizer.FaceImageDpi;
get => nativeRecognizer.FaceImageDpi;
set => nativeRecognizer.FaceImageDpi = (int)value;
}

public uint FullDocumentImageDpi
public int FullDocumentImageDpi
{
get => (uint)nativeRecognizer.FullDocumentImageDpi;
get => nativeRecognizer.FullDocumentImageDpi;
set => nativeRecognizer.FullDocumentImageDpi = (int)value;
}

Expand Down Expand Up @@ -93,9 +93,9 @@ public bool ReturnSignatureImage
set => nativeRecognizer.SetReturnSignatureImage(value);
}

public uint SignatureImageDpi
public int SignatureImageDpi
{
get => (uint)nativeRecognizer.SignatureImageDpi;
get => nativeRecognizer.SignatureImageDpi;
set => nativeRecognizer.SignatureImageDpi = (int)value;
}

Expand Down Expand Up @@ -127,6 +127,7 @@ internal BlinkIdRecognizerResult(Com.Microblink.Entities.Recognizers.Blinkid.Gen
public IDate DateOfIssue => nativeResult.DateOfIssue.Date != null ? new Date(nativeResult.DateOfIssue.Date) : null;
public string DocumentAdditionalNumber => nativeResult.DocumentAdditionalNumber;
public string DocumentNumber => nativeResult.DocumentNumber;
public string DocumentOptionalAdditionalNumber => nativeResult.DocumentOptionalAdditionalNumber;
public IDriverLicenseDetailedInfo DriverLicenseDetailedInfo => new DriverLicenseDetailedInfo(nativeResult.DriverLicenseDetailedInfo);
public string Employer => nativeResult.Employer;
public bool Expired => nativeResult.IsExpired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ public DocumentFaceDetectorType DetectorType
set => nativeRecognizer.DetectorType = Com.Microblink.Entities.Recognizers.Blinkid.Documentface.DocumentFaceDetectorType.Values()[(int)value];
}

public uint FaceImageDpi
public int FaceImageDpi
{
get => (uint)nativeRecognizer.FaceImageDpi;
get => nativeRecognizer.FaceImageDpi;
set => nativeRecognizer.FaceImageDpi = (int)value;
}

public uint FullDocumentImageDpi
public int FullDocumentImageDpi
{
get => (uint)nativeRecognizer.FullDocumentImageDpi;
get => nativeRecognizer.FullDocumentImageDpi;
set => nativeRecognizer.FullDocumentImageDpi = (int)value;
}

Expand All @@ -45,9 +45,9 @@ public IImageExtensionFactors FullDocumentImageExtensionFactors
set => nativeRecognizer.FullDocumentImageExtensionFactors = (value as ImageExtensionFactors).NativeImageExtensionFactors;
}

public uint NumStableDetectionsThreshold
public int NumStableDetectionsThreshold
{
get => (uint)nativeRecognizer.NumStableDetectionsThreshold;
get => nativeRecognizer.NumStableDetectionsThreshold;
set => nativeRecognizer.NumStableDetectionsThreshold = (int)value;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ public DocumentFaceDetectorType DetectorType
set => nativeRecognizer.DetectorType = Com.Microblink.Entities.Recognizers.Blinkid.Documentface.DocumentFaceDetectorType.Values()[(int)value];
}

public uint FaceImageDpi
public int FaceImageDpi
{
get => (uint)nativeRecognizer.FaceImageDpi;
get => nativeRecognizer.FaceImageDpi;
set => nativeRecognizer.FaceImageDpi = (int)value;
}

public uint FullDocumentImageDpi
public int FullDocumentImageDpi
{
get => (uint)nativeRecognizer.FullDocumentImageDpi;
get => nativeRecognizer.FullDocumentImageDpi;
set => nativeRecognizer.FullDocumentImageDpi = (int)value;
}

Expand All @@ -63,9 +63,9 @@ public IImageExtensionFactors FullDocumentImageExtensionFactors
set => nativeRecognizer.FullDocumentImageExtensionFactors = (value as ImageExtensionFactors).NativeImageExtensionFactors;
}

public uint NumStableDetectionsThreshold
public int NumStableDetectionsThreshold
{
get => (uint)nativeRecognizer.NumStableDetectionsThreshold;
get => nativeRecognizer.NumStableDetectionsThreshold;
set => nativeRecognizer.NumStableDetectionsThreshold = (int)value;
}

Expand Down Expand Up @@ -98,7 +98,7 @@ internal MrtdCombinedRecognizerResult(Com.Microblink.Entities.Recognizers.Blinki
this.nativeResult = nativeResult;
}
public byte[] DigitalSignature => nativeResult.GetDigitalSignature();
public uint DigitalSignatureVersion => (uint)nativeResult.DigitalSignatureVersion;
public int DigitalSignatureVersion => (int)nativeResult.DigitalSignatureVersion;
public DataMatchResult DocumentDataMatch => (DataMatchResult)nativeResult.DocumentDataMatch.Ordinal();
public Xamarin.Forms.ImageSource FaceImage => nativeResult.FaceImage != null ? Utils.ConvertAndroidBitmap(nativeResult.FaceImage.ConvertToBitmap()) : null;
public Xamarin.Forms.ImageSource FullDocumentBackImage => nativeResult.FullDocumentBackImage != null ? Utils.ConvertAndroidBitmap(nativeResult.FullDocumentBackImage.ConvertToBitmap()) : null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ public bool DetectGlare
set => nativeRecognizer.SetDetectGlare(value);
}

public uint FullDocumentImageDpi
public int FullDocumentImageDpi
{
get => (uint)nativeRecognizer.FullDocumentImageDpi;
get => nativeRecognizer.FullDocumentImageDpi;
set => nativeRecognizer.FullDocumentImageDpi = (int)value;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ public bool DetectGlare
set => nativeRecognizer.SetDetectGlare(value);
}

public uint FaceImageDpi
public int FaceImageDpi
{
get => (uint)nativeRecognizer.FaceImageDpi;
get => nativeRecognizer.FaceImageDpi;
set => nativeRecognizer.FaceImageDpi = (int)value;
}

public uint FullDocumentImageDpi
public int FullDocumentImageDpi
{
get => (uint)nativeRecognizer.FullDocumentImageDpi;
get => nativeRecognizer.FullDocumentImageDpi;
set => nativeRecognizer.FullDocumentImageDpi = (int)value;
}

Expand Down Expand Up @@ -80,7 +80,7 @@ internal PassportRecognizerResult(Com.Microblink.Entities.Recognizers.Blinkid.Pa
this.nativeResult = nativeResult;
}
public byte[] DigitalSignature => nativeResult.GetDigitalSignature();
public uint DigitalSignatureVersion => (uint)nativeResult.DigitalSignatureVersion;
public int DigitalSignatureVersion => (int)nativeResult.DigitalSignatureVersion;
public Xamarin.Forms.ImageSource FaceImage => nativeResult.FaceImage != null ? Utils.ConvertAndroidBitmap(nativeResult.FaceImage.ConvertToBitmap()) : null;
public Xamarin.Forms.ImageSource FullDocumentImage => nativeResult.FullDocumentImage != null ? Utils.ConvertAndroidBitmap(nativeResult.FullDocumentImage.ConvertToBitmap()) : null;
public IMrzResult MrzResult => new MrzResult(nativeResult.MrzResult);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ public UsdlCombinedRecognizer()

public IUsdlCombinedRecognizerResult Result => result;

public uint FaceImageDpi { get => (uint)nativeRecognizer.FaceImageDpi; set => nativeRecognizer.FaceImageDpi = (int)value; }
public int FaceImageDpi { get => (int)nativeRecognizer.FaceImageDpi; set => nativeRecognizer.FaceImageDpi = (int)value; }
public bool ReturnFaceImage { get => nativeRecognizer.ShouldReturnFaceImage(); set => nativeRecognizer.SetReturnFaceImage(value); }
public uint FullDocumentImageDpi { get => (uint)nativeRecognizer.FullDocumentImageDpi; set => nativeRecognizer.FullDocumentImageDpi = (int)value; }
public int FullDocumentImageDpi { get => (int)nativeRecognizer.FullDocumentImageDpi; set => nativeRecognizer.FullDocumentImageDpi = (int)value; }
public bool ReturnFullDocumentImage { get => nativeRecognizer.ShouldReturnFullDocumentImage(); set => nativeRecognizer.SetReturnFullDocumentImage(value); }
public IImageExtensionFactors FullDocumentImageExtensionFactors
{
get => new ImageExtensionFactors(nativeRecognizer.FullDocumentImageExtensionFactors);
set => nativeRecognizer.FullDocumentImageExtensionFactors = (value as ImageExtensionFactors).NativeImageExtensionFactors;
}
public uint NumStableDetectionsThreshold
public int NumStableDetectionsThreshold
{
get => (uint)nativeRecognizer.NumStableDetectionsThreshold;
get => (int)nativeRecognizer.NumStableDetectionsThreshold;
set => nativeRecognizer.NumStableDetectionsThreshold = (int)value;
}
public bool SignResult { get => nativeRecognizer.ShouldSignResult(); set => nativeRecognizer.SetSignResult(value); }
Expand All @@ -58,7 +58,7 @@ internal UsdlCombinedRecognizerResult(Com.Microblink.Entities.Recognizers.Blinki

public byte[] DigitalSignature => nativeResult.GetDigitalSignature();

public uint DigitalSignatureVersion => (uint)nativeResult.DigitalSignatureVersion;
public int DigitalSignatureVersion => (int)nativeResult.DigitalSignatureVersion;

public DataMatchResult DocumentDataMatch => (DataMatchResult)nativeResult.DocumentDataMatch.Ordinal();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ public bool DetectGlare
set => nativeRecognizer.SetDetectGlare(value);
}

public uint FaceImageDpi
public int FaceImageDpi
{
get => (uint)nativeRecognizer.FaceImageDpi;
get => nativeRecognizer.FaceImageDpi;
set => nativeRecognizer.FaceImageDpi = (int)value;
}

public uint FullDocumentImageDpi
public int FullDocumentImageDpi
{
get => (uint)nativeRecognizer.FullDocumentImageDpi;
get => nativeRecognizer.FullDocumentImageDpi;
set => nativeRecognizer.FullDocumentImageDpi = (int)value;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ public VizResult(Com.Microblink.Entities.Recognizers.Blinkid.Generic.Viz.VizResu

public string DocumentNumber => nativeVizResult.DocumentNumber;

public string DocumentOptionalAdditionalNumber => nativeVizResult.DocumentOptionalAdditionalNumber;

public string PersonalIdNumber => nativeVizResult.PersonalIdNumber;

public string DocumentAdditionalNumber => nativeVizResult.DocumentAdditionalNumber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<TargetFramework>netstandard1.0</TargetFramework>
<PackOnBuild>true</PackOnBuild>
<PackageId>BlinkID.Forms.Core</PackageId>
<PackageVersion>5.8.0</PackageVersion>
<PackageVersion>5.9.0</PackageVersion>
<Authors>Microblink</Authors>
<Owners>Microblink</Owners>
<PackageProjectUrl>https://github.com/blinkid/blinkid-xamarin</PackageProjectUrl>
<PackageReleaseNotes>Updated for BlinkID Android and iOS SDKs v5.8.0</PackageReleaseNotes>
<PackageReleaseNotes>Updated for BlinkID Android and iOS SDKs v5.9.0</PackageReleaseNotes>
<Summary>A small, but powerful ID scanning library - abstractions library for Xamarin Forms.</Summary>
<Title>BlinkID</Title>
<Description>A small, but powerful ID scanning library - abstractions library for Xamarin Forms.</Description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public interface IBlinkIdCombinedRecognizer : IRecognizer
///
/// By default, this is set to '250'
/// </summary>
uint FaceImageDpi { get; set; }
int FaceImageDpi { get; set; }

/// <summary>
/// Property for setting DPI for full document images
Expand All @@ -62,7 +62,7 @@ public interface IBlinkIdCombinedRecognizer : IRecognizer
///
/// By default, this is set to '250'
/// </summary>
uint FullDocumentImageDpi { get; set; }
int FullDocumentImageDpi { get; set; }

/// <summary>
/// Image extension factors for full document image.
Expand Down Expand Up @@ -138,7 +138,7 @@ public interface IBlinkIdCombinedRecognizer : IRecognizer
///
/// By default, this is set to '250'
/// </summary>
uint SignatureImageDpi { get; set; }
int SignatureImageDpi { get; set; }

/// <summary>
/// Skip back side capture and processing step when back side of the document is not supported
Expand Down Expand Up @@ -241,7 +241,7 @@ public interface IBlinkIdCombinedRecognizerResult : IRecognizerResult {
/// <summary>
/// Version of the digital signature. Available only if enabled with signResult property.
/// </summary>
uint DigitalSignatureVersion { get; }
int DigitalSignatureVersion { get; }

/// <summary>
/// The additional number of the document.
Expand All @@ -261,6 +261,11 @@ public interface IBlinkIdCombinedRecognizerResult : IRecognizerResult {
/// </summary>
string DocumentNumber { get; }

/// <summary>
/// The one more additional number of the document.
/// </summary>
string DocumentOptionalAdditionalNumber { get; }

/// <summary>
/// The driver license detailed info.
/// </summary>
Expand Down
Loading

0 comments on commit 23b2071

Please sign in to comment.