- Updated the plugin to Android SDK v2.9.3 and iOS SDK v2.9.1
- This version of the SDK contains the native iOS
BlinkCard.xcframework
with the privacy manifest file (PrivacyInfo.xcprivacy
).
Major API update
- We have introduced the DirectAPI method of scanning, which allows the SDK to extract the card information from static images without the need to use the device’s camera and our UI.
- Usage:
- The
scanWithDirectApi
method requires four parameters: recognizerCollection
, which is a collection of Recognizers used for card scanning.frontImage
, which would represent the image of the card where the card number in located in the Base64 format stringbackImage
, which would represent the image of the second side of the card in the Base64 format string- the
backImage
parameter is optional when scanning the card that contains all of the information on one side (or if you extract specific information located only on one side), and can be passed asnull
or an empty string (””
).
- the
license
, the licenses for iOS and Android required to unlock the SDK
- The
- An example of its usage can be found in the sample application , both for the two-sided and one-sided card scanning.
- More information about the DirectAPI scanning can be found here in the native documentation for Android and iOS
- We still recommend using direct camera scanning, as static images can sometimes be in lower-quality which can cause SDK extraction error. It would be best to use the scanWithDirectApi method when using the device’s camera is not an option.