Migration Guide
A summary of moving from one version to another on the Smile Identity library
Last updated
Was this helpful?
A summary of moving from one version to another on the Smile Identity library
Last updated
Was this helpful?
Consent has changed from a dialog to an activity see for how this now works using start activity for result instead of triggering a consent
From 7.3.5 the SDK now requires signature instead of sec key please look for how to generate a signature
Introduction of signature breaks sec_key implementation please look for how to generate a signature
Removed the useIdCard method from the SIDConfig.Builder class, the SDK will now handle this internally
setRetryOnfailurePolicy
is no longer mandatory when submitting a job� will default to 10 retries, 15 seconds apart
With the introduction of android 11 google is now enforcing scoped storage as explained . If you have agent mode enabled and are capturing multiple jobs for later uploading and would like to migrate these jobs to scoped storage you need to make the following changes
Target android 10 in build.gradle by using targetSdkVersion 29
Add requestLegacyExternalStorage the AndroidManifest.xml so you can have access to external storage
Request external storage read and write permissions
On job submission, all jobs stored in external storage will be migrated to scoped storage and when the right tag is provided a job will be submitted
All jobs captured going forward will be stored in scoped storage.
Moved SmartCardView class from the com.smileidentity.libsmileid.core.idcapure package to com.smileidentity.libsmileid.core class
Added real time light and blur checks on ID card capture
Added onIDCardStateChange(IDCardState idCardState) for feedback to the realtime ID card quality checks
SDK now handles the urls and port configuration and introduced the environment enum SIDNetData.Environment.TEST and SIDNetData.Environment.PROD to manage your Smile ID environmen
�
Replace everything associated with
com.smileidentity.libsmileid.utils.CaptureIDCardOverlay
SurfaceView
�FrameLayout ( if copied .from the demo app)
�
�
The SDK will provide validation by default and will return an error which can be either
You can turn off this remote validation by using
This change introduced sandboxed folders for Smile Identity jobs to make sure they are app specific this uses the package name of the app implementing the Smile Identity library and as such the library requires a context on multiple occasions
SIDInfosManager.class
When getting the instance the method get instance now requires a context
When getting the idle tags the method now requires a context
The methods clearConfig and getConfigCache now require a context
Added custom messaging for the ID Card capture as demonstrated
The SDK is now available on maven central and can be installed by following the
SDK now requires a Smile Config file from the partner portal available
Refer to for steps on how to implement the new ID Capture
�For more information on required fields per ID type please refer to