blinkinput / blinkinput-ios

OCR SDK for iOS powered by MicroBlink
Apache License 2.0
130 stars 26 forks source link

Migration issues #40

Closed yaakovgamliel closed 5 years ago

yaakovgamliel commented 5 years ago

Hi, We have been using the SDK for over a year and a half with very good results, right now we are starting the migration process to the newest SDK version, the most challenging part has been trying to keep the same behavior specifically navigation, our app work as a navigation controller where every new screen is pushed in to the stack, the problem is that we use to push a new controller after a successful pdf417 scan completed, with the current SDK the controller being pushed look like this:

MBViewControllerFactory.recognizerRunnerViewController(
            withOverlayViewController: customOverlayViewController)

it is completely abstracted so when a scan happens it is the customOverlayViewController the one that handles the results, not the presenting controller neither the controller that pushed so customOverlayViewController is not part of the stack anymore and consequently it can't push the next controller which will present the scanned results. The result we would like to achieve is the following: scan button pressed --> push controller with custom overlay ---> succeful scan is found --> push details controller to display scanned information. Is there any way we could keep this behavior with the new SDK?

Thanks

yaakovgamliel commented 5 years ago

This is issue is not relevant to this SDK and belongs to https://github.com/BlinkID/blinkid-ios