Liveness Detection SDK Flutter plugin Migration Guides

From 4.0.0, we've introduced significant API improvements and feature enhancements. To make upgrading easier, here’s what you need to know:

Some APIs in the table below are now removed. You’ll need to update your code accordingly.

LivenessPlugin

Method/PropertyAlternativeNotes
setActionSequence-No need to call.
setDetectionLevel-No need to call.
setVideoConfig-No need to call.
setAuditConfig-No need to call.
setDetectOcclusion-No need to call.
set3DLivenessTimeoutMills-No need to call.
setActionTimeoutMills-No need to call.
setResultPictureSize-No need to call.
bindUser-No need to call.
setSignatureId-No need to call.

The recommended alternative for the deprecated API is as follows:

For detailed integration instructions, please refer to the integration documentation.