Skip to content

Commit

Permalink
Merge pull request #276 from BlinkID/jenkins/master-build
Browse files Browse the repository at this point in the history
Jenkins/master build
  • Loading branch information
juraskrlec authored Dec 5, 2019
2 parents 0ca2ccb + 9e08f97 commit 68f0562
Show file tree
Hide file tree
Showing 349 changed files with 766 additions and 426 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Release notes

## 5.0.2

- Updates and additions:
- new options in `MBBlinkIdOverlaySettings`:
- option to disable displaying of "Document Not Supported" dialog when `MBBlinkIdRecognizer` or `MBBlinkIdCombinedRecognizer` is used in combination with other recognizers - use method `showNotSupportedDialog`
- option to configure back side scanning timeout - use `backSideScanningTimeout`

- Minor API changes:
- methods `pauseScanning` and `resumeScanningAndResetState` in `MBRecognizerRunnerViewController` do not return anymore `BOOL`
- use `isScanningPaused` to check if scanning is paused

- Bugfixes:
- fixed issue where recognizer's result state would not be the same as recognizer's runner state after finished scanning
- fixed issue when pressing immediately close button on overlay view controllers would freeze for couple of seconds SDK

## 5.0.1

- Updates and fixes:
Expand Down
Binary file modified Microblink.bundle/Info.plist
Binary file not shown.
14 changes: 14 additions & 0 deletions Microblink.framework/Headers/MBBlinkIdOverlaySettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,20 @@ MB_CLASS_AVAILABLE_IOS(8.0)
*/
@property(nonatomic, assign) BOOL requireDocumentSidesDataMatch;

/**
* Defines whether Document Not Supported dialog will be displayed in UI.
*
* Default: YES
*/
@property(nonatomic, assign) BOOL showNotSupportedDialog;

/**
* Option to configure back side scanning timeout.
*
* Default: 17.0
*/
@property(nonatomic, assign) NSTimeInterval backSideScanningTimeout;

/**
* Designated initializer. Initializes the object with default settings.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN
*
* NOTE: This method is called on background processing thread. Make sure that you dispatch all your UI API calls to main thread.
*/
- (void)documentOverlayViewControllerDidCaptureHighResolutionImage:(nonnull MBDocumentVerificationOverlayViewController *)documentVerificationOverlayViewController highResImage:(MBImage *)highResImage state:(MBDocumentVerificationHighResImageState)state;
- (void)documentVerificationOverlayViewControllerDidCaptureHighResolutionImage:(nonnull MBDocumentVerificationOverlayViewController *)documentVerificationOverlayViewController highResImage:(MBImage *)highResImage state:(MBDocumentVerificationHighResImageState)state;

@end

Expand Down
10 changes: 10 additions & 0 deletions Microblink.framework/Headers/MBMrzResult.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,16 @@ MB_INIT_UNAVAILABLE
*/
@property (nonatomic, strong, readonly) NSString *sanitizedIssuer;

/**
* Sanitized document code
*/
@property (nonatomic, strong, readonly) NSString *sanitizedDocumentCode;

/**
* Sanitized document number
*/
@property (nonatomic, strong, readonly) NSString *sanitizedDocumentNumber;

@end

NS_ASSUME_NONNULL_END
10 changes: 3 additions & 7 deletions Microblink.framework/Headers/MBRecognizerRunnerViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,14 @@ NS_ASSUME_NONNULL_BEGIN
* If there is camera frame being processed at a time, the processing will finish, but the results of processing
* will not be returned.
*
* @warning must be called from Main thread to ensure thread synchronization
* Ideally, this method should be called from the background thread that returns the scan result.
*/
- (BOOL)pauseScanning;
- (void)pauseScanning;

/**
* Retrieve the current state of scanning.
*
* @return YES if scanning is paused. NO if it's in progress
*
* @warning must be called from Main thread to ensure thread synchronization
*/
- (BOOL)isScanningPaused;

Expand All @@ -70,10 +68,8 @@ NS_ASSUME_NONNULL_BEGIN
* state provides better scanning results.
*
* @param resetState YES if state should be reset.
*
* @warning must be called from Main thread to ensure thread synchronization
*/
- (BOOL)resumeScanningAndResetState:(BOOL)resetState;
- (void)resumeScanningAndResetState:(BOOL)resetState;

/**
* Resumes camera session. This method is automatically called in viewWillAppear when ScanningViewController enters screen.
Expand Down
Binary file modified Microblink.framework/Info.plist
Binary file not shown.
4 changes: 2 additions & 2 deletions Microblink.framework/Microblink
Git LFS file not shown
26 changes: 13 additions & 13 deletions Microblink.framework/_CodeSignature/CodeResources
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</data>
<key>Headers/MBBlinkIdOverlaySettings.h</key>
<data>
xuIHm97h/vojlkGoyx+S+FwuLl4=
enaRN0zaxemq+tT0rN83398GcKA=
</data>
<key>Headers/MBBlinkIdOverlayViewController.h</key>
<data>
Expand Down Expand Up @@ -174,7 +174,7 @@
</data>
<key>Headers/MBDocumentVerificationOverlayViewControllerDelegate.h</key>
<data>
73iekx4eflJ5OQsDdfYmHI9YXaA=
V/629kxJpEVvtkdlvD2ei0Eanpg=
</data>
<key>Headers/MBDocumentVerificationSubview.h</key>
<data>
Expand Down Expand Up @@ -378,7 +378,7 @@
</data>
<key>Headers/MBMrzResult.h</key>
<data>
pwpaDkyugdxgg+WqL2i2++4v/Eg=
B7vDJXl2S4bI+H7g8acJxeDY7uI=
</data>
<key>Headers/MBNativeResult.h</key>
<data>
Expand Down Expand Up @@ -478,7 +478,7 @@
</data>
<key>Headers/MBRecognizerRunnerViewController.h</key>
<data>
0wMD+YY1DaqbdYaAkw2vu0g/cAQ=
S+XfENfcwL0BDYnLAUgWkh8VBYc=
</data>
<key>Headers/MBRecognizerRunnerViewControllerDelegate.h</key>
<data>
Expand Down Expand Up @@ -590,7 +590,7 @@
</data>
<key>Info.plist</key>
<data>
EZR6zrYu/2C+6D2EhALI79Xsxbk=
q/+7/Cwj266VqnQHnVUDQrcwpzg=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand Down Expand Up @@ -680,11 +680,11 @@
<dict>
<key>hash</key>
<data>
xuIHm97h/vojlkGoyx+S+FwuLl4=
enaRN0zaxemq+tT0rN83398GcKA=
</data>
<key>hash2</key>
<data>
pFwkLBQiJ6Gvpzc1TLSTwpND+7SJQRRMADoFiKnyon8=
0YShpqBKIhXrLy5IV1cUIVaSqFubjRTSfSj5YDef/uk=
</data>
</dict>
<key>Headers/MBBlinkIdOverlayViewController.h</key>
Expand Down Expand Up @@ -1065,11 +1065,11 @@
<dict>
<key>hash</key>
<data>
73iekx4eflJ5OQsDdfYmHI9YXaA=
V/629kxJpEVvtkdlvD2ei0Eanpg=
</data>
<key>hash2</key>
<data>
TRkuJPZalOZTS4fewLmuYmU6gH2GaJechhHwneJqno8=
N6KT2wHITIBJhQGcOJnPiQWkL+I2bCslKipO+KI6pI4=
</data>
</dict>
<key>Headers/MBDocumentVerificationSubview.h</key>
Expand Down Expand Up @@ -1626,11 +1626,11 @@
<dict>
<key>hash</key>
<data>
pwpaDkyugdxgg+WqL2i2++4v/Eg=
B7vDJXl2S4bI+H7g8acJxeDY7uI=
</data>
<key>hash2</key>
<data>
nS3ubC7jM3t067e0xJQwg1I1lvnOWmG52H/XYfCE1kY=
xWzAYgeu2TzfvpCpauxAC2u4Jjrfcq9bbAqIjCgmpyc=
</data>
</dict>
<key>Headers/MBNativeResult.h</key>
Expand Down Expand Up @@ -1901,11 +1901,11 @@
<dict>
<key>hash</key>
<data>
0wMD+YY1DaqbdYaAkw2vu0g/cAQ=
S+XfENfcwL0BDYnLAUgWkh8VBYc=
</data>
<key>hash2</key>
<data>
DP+uWLQldXHEE8Id9cKjSm7vh7bCemPp2merj8vtkDY=
tttaRmakbTlIKiunc7IQcGpsYU8TQjzbhYb1kxIDHbo=
</data>
</dict>
<key>Headers/MBRecognizerRunnerViewControllerDelegate.h</key>
Expand Down
4 changes: 2 additions & 2 deletions PPBlinkID.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "PPBlinkID"
s.version = "5.0.1"
s.version = "5.0.2"
s.summary = "A delightful component for barcode scanning"
s.homepage = "http://microblink.com"

Expand Down Expand Up @@ -31,7 +31,7 @@ Pod::Spec.new do |s|
}

s.source = {
:http => 'https://github.com/BlinkID/blinkid-ios/releases/download/v5.0.1/blinkid-ios_v5.0.1.tar.gz'
:http => 'https://github.com/BlinkID/blinkid-ios/releases/download/v5.0.2/blinkid-ios_v5.0.2.tar.gz'
}

s.platform = :ios
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ BlinkID is a part of family of SDKs developed by [Microblink](http://www.microbl

<p align="center" >
<a href="https://www.youtube.com/watch?v=3sEyQLaxLKA" target="_blank">
<img src="https://raw.githubusercontent.com/wiki/blinkid/blinkid-ios/Images/blinkid.gif" alt="BlinkID SDK">
<img src="https://raw.githubusercontent.com/wiki/blinkid/blinkid-ios/Images/blinkid-v5.gif" alt="BlinkID SDK">
</a>
</p>

Expand Down Expand Up @@ -93,7 +93,7 @@ pod init
```ruby
platform :ios, '8.0'
target 'Your-App-Name' do
pod 'PPBlinkID', '~> 5.0.1'
pod 'PPBlinkID', '~> 5.0.2'
end
```

Expand Down
15 changes: 15 additions & 0 deletions Release notes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Release notes

## 5.0.2

- Updates and additions:
- new options in `MBBlinkIdOverlaySettings`:
- option to disable displaying of "Document Not Supported" dialog when `MBBlinkIdRecognizer` or `MBBlinkIdCombinedRecognizer` is used in combination with other recognizers - use method `showNotSupportedDialog`
- option to configure back side scanning timeout - use `backSideScanningTimeout`

- Minor API changes:
- methods `pauseScanning` and `resumeScanningAndResetState` in `MBRecognizerRunnerViewController` do not return anymore `BOOL`
- use `isScanningPaused` to check if scanning is paused

- Bugfixes:
- fixed issue where recognizer's result state would not be the same as recognizer's runner state after finished scanning
- fixed issue when pressing immediately close button on overlay view controllers would freeze for couple of seconds SDK

## 5.0.1

- Updates and fixes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Microblink

class ViewController: UIViewController {

var blinkIdRecognizer : MBBlinkIdRecognizer?
var blinkIdRecognizer : MBBlinkIdCombinedRecognizer?

override func viewDidLoad() {
super.viewDidLoad()
Expand All @@ -22,7 +22,7 @@ class ViewController: UIViewController {
@IBAction func didTapScan(_ sender: AnyObject) {

/** Create BlinkID recognizer */
self.blinkIdRecognizer = MBBlinkIdRecognizer()
self.blinkIdRecognizer = MBBlinkIdCombinedRecognizer()
self.blinkIdRecognizer?.returnFullDocumentImage = true;

/** Create settings */
Expand All @@ -46,7 +46,7 @@ class ViewController: UIViewController {
@IBAction func didTapCustomUI(_ sender: Any) {

/** Create BlinkID recognizer */
self.blinkIdRecognizer = MBBlinkIdRecognizer()
self.blinkIdRecognizer = MBBlinkIdCombinedRecognizer()

/** Crate recognizer collection */
let recognizerList = [self.blinkIdRecognizer!]
Expand Down Expand Up @@ -79,7 +79,7 @@ extension ViewController: MBBlinkIdOverlayViewControllerDelegate {
if (self.blinkIdRecognizer?.result.resultState == MBRecognizerResultState.valid) {
title = "BlinkID"

let fullDocumentImage: UIImage! = self.blinkIdRecognizer?.result.fullDocumentImage?.image
let fullDocumentImage: UIImage! = self.blinkIdRecognizer?.result.fullDocumentFrontImage?.image
print("Got BlinkID image with width: \(fullDocumentImage.size.width), height: \(fullDocumentImage.size.height)")

// Save the string representation of the code
Expand Down
6 changes: 6 additions & 0 deletions Transition guide.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 5.0.2

- Minor API changes:
- methods `pauseScanning` and `resumeScanningAndResetState` in `MBRecognizerRunnerViewController` do not return anymore `BOOL`
- use `isScanningPaused` to check if scanning is paused

## 5.0.1

- No changes
Expand Down
2 changes: 1 addition & 1 deletion buildCommit.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Built from core repository commit cfb73fec58fe7ba7b3eedf55177481c0d2347d36
Built from core repository commit 4980bc2eb0bcf3dc06ee823de72519f9fa5acde5
12 changes: 11 additions & 1 deletion docs/Classes.html
Original file line number Diff line number Diff line change
Expand Up @@ -2677,6 +2677,16 @@ <h4>Declaration</h4>
*/</span>
<span class="k">@property</span> <span class="p">(</span><span class="n">nonatomic</span><span class="p">,</span> <span class="n">strong</span><span class="p">,</span> <span class="n">readonly</span><span class="p">)</span> <span class="n">NSString</span> <span class="o">*</span><span class="n">sanitizedIssuer</span><span class="p">;</span>

<span class="cm">/**
* Sanitized document code
*/</span>
<span class="k">@property</span> <span class="p">(</span><span class="n">nonatomic</span><span class="p">,</span> <span class="n">strong</span><span class="p">,</span> <span class="n">readonly</span><span class="p">)</span> <span class="n">NSString</span> <span class="o">*</span><span class="n">sanitizedDocumentCode</span><span class="p">;</span>

<span class="cm">/**
* Sanitized document number
*/</span>
<span class="k">@property</span> <span class="p">(</span><span class="n">nonatomic</span><span class="p">,</span> <span class="n">strong</span><span class="p">,</span> <span class="n">readonly</span><span class="p">)</span> <span class="n">NSString</span> <span class="o">*</span><span class="n">sanitizedDocumentNumber</span><span class="p">;</span>

<span class="k">@end</span></code></pre>

</div>
Expand Down Expand Up @@ -4189,7 +4199,7 @@ <h4>Declaration</h4>
</article>
</div>
<section class="footer">
<p>&copy; 2019 <a class="link" href="http://microblink.com" target="_blank" rel="external">Microblink</a>. All rights reserved. (Last updated: 2019-11-18)</p>
<p>&copy; 2019 <a class="link" href="http://microblink.com" target="_blank" rel="external">Microblink</a>. All rights reserved. (Last updated: 2019-12-05)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/MBBaseOcrOverlaySettings.html
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ <h4>Declaration</h4>
</article>
</div>
<section class="footer">
<p>&copy; 2019 <a class="link" href="http://microblink.com" target="_blank" rel="external">Microblink</a>. All rights reserved. (Last updated: 2019-11-18)</p>
<p>&copy; 2019 <a class="link" href="http://microblink.com" target="_blank" rel="external">Microblink</a>. All rights reserved. (Last updated: 2019-12-05)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/MBBaseOverlaySettings.html
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ <h4>Declaration</h4>
</article>
</div>
<section class="footer">
<p>&copy; 2019 <a class="link" href="http://microblink.com" target="_blank" rel="external">Microblink</a>. All rights reserved. (Last updated: 2019-11-18)</p>
<p>&copy; 2019 <a class="link" href="http://microblink.com" target="_blank" rel="external">Microblink</a>. All rights reserved. (Last updated: 2019-12-05)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/MBBaseOverlayViewController.html
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ <h4>Declaration</h4>
</article>
</div>
<section class="footer">
<p>&copy; 2019 <a class="link" href="http://microblink.com" target="_blank" rel="external">Microblink</a>. All rights reserved. (Last updated: 2019-11-18)</p>
<p>&copy; 2019 <a class="link" href="http://microblink.com" target="_blank" rel="external">Microblink</a>. All rights reserved. (Last updated: 2019-12-05)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/MBBlinkIdCombinedRecognizer.html
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ <h4>Declaration</h4>
</article>
</div>
<section class="footer">
<p>&copy; 2019 <a class="link" href="http://microblink.com" target="_blank" rel="external">Microblink</a>. All rights reserved. (Last updated: 2019-11-18)</p>
<p>&copy; 2019 <a class="link" href="http://microblink.com" target="_blank" rel="external">Microblink</a>. All rights reserved. (Last updated: 2019-12-05)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/Classes/MBBlinkIdCombinedRecognizerResult.html
Original file line number Diff line number Diff line change
Expand Up @@ -1539,7 +1539,7 @@ <h4>Declaration</h4>
</article>
</div>
<section class="footer">
<p>&copy; 2019 <a class="link" href="http://microblink.com" target="_blank" rel="external">Microblink</a>. All rights reserved. (Last updated: 2019-11-18)</p>
<p>&copy; 2019 <a class="link" href="http://microblink.com" target="_blank" rel="external">Microblink</a>. All rights reserved. (Last updated: 2019-12-05)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</body>
Expand Down
Loading

0 comments on commit 68f0562

Please sign in to comment.