Migration to version 1.1.0
Package changed to com.gbg.smartcapture
Version 1.1.0 contains a change to how the SDK is distributed. The package of the SDK has changed from com.gbgplc.idscan
to com.gbg.smartcapture
. This means that any import statements in the code and the installation via gradle will need to be updated.
-
To update the gradle import, replace the following:
implementation 'com.gbgplc.idscan:commons:X.Y.Z'
implementation 'com.gbgplc.idscan:facecamera:X.Y.Z'with:
implementation 'com.gbg.smartcapture:commons:X.Y.Z'
implementation 'com.gbg.smartcapture:facecamera:X.Y.Z' -
Re-sync the gradle and attempt to build the project.
-
All of the now out of date import statements will get flagged as build errors. On each of those lines replace
.idscan
in the import statement with.smartcapture
. In most implementations there will only be only a couple import statements like this.
Face Camera locked to portrait
As of this release the Face Camera is locked to portrait. See faq for more info.
Edge to Edge mode
Per the requirements of Android 15, all components started via activity are now running edge to edge mode. This change will apply even if ran on devices not yet updated to android 15. There is no code change needed from implementors as part of this change.