- If you want to use
BlinkID
recognizers, you should importBlinkID
SDK (more here).
-
In your
build.gradle
, add BlinkID maven repository to repositories listrepositories { maven { url 'https://maven.microblink.com' } }
-
Add BlinkID as a dependency and make sure
transitive
is set to truedependencies { implementation('com.microblink:blinkid:5.15.0@aar') { transitive = true } }
- The root package has been renamed from
com.microblink
tocom.microblink.photopay
. To implement this change, you should simply replace all occurrences ofcom.microblink
withcom.microblink.photopay
. Most of these changes should be on imports ofPhotoPay
SDK Java classes.
-
In
PhotoPay v8.0.0
we've removedBlinkID
recognizers from the SDK. You should useBlinkID
SDK to useBlinkID
recognizers. If you're using bothPhotoPay
andBlinkID
recognizers in you app, be careful from which SDK you're importing Java classes. -
For example, the recommended way of setting a license is through extending the Android Application class. If you would want to set the license for both
BlinkID
andPhotoPay
, you should do it like this:public class MyApplication extends Application { @Override public void onCreate() { com.microblink.MicroblinkSDK.setLicenseFile("path/to/BlinkID/license/file/within/assets/dir", this); com.microblink.photopay.MicroblinkSDK.setLicenseFile("path/to/PhotoPay/license/file/within/assets/dir", this); } }
- Getters for some of the fields have been renamed according to the guidelines we have for all of our recognizers.
- For example,
getIban
instead ofgetIBAN
,getBic
instead ofgetBIC
,getBlz
instead ofgetBLZ
, etc.
- For example,
- To implement this change, replace the old getter names with new ones.
- If you have any other questions, please check our public documentation or contact us.