SDK Release Notes
v1.3.1
General improvements coming from Core SDK v3.7.3
Small lifecycle refinements for smoother behavior
v1.3.0
Dynamic Feature support has been introduced, allowing selective feature activation based on specific requirements. This enhancement significantly reduces the SDK size by enabling only the necessary features instead of including all functionalities by default.
- ID Capture – Enables automatic scanning and capturing of ID documents.
- Hologram Detection – Detects holograms on the document to verify authenticity.
- NFC Scan – Reads embedded chip data from supported IDs via NFC.
- Selfie Auto – Automatically captures the user's selfie without manual interaction.
- Selfie Pose Estimation – Provides liveness detection by analyzing user head and pose movements.
Dynamic Feature Selection: Developers can now enable only the required features, optimizing resource usage.
Smaller SDK Size: By dynamically loading features, unnecessary components are excluded, reducing the overall SDK footprint.
Flexible Configuration: Features such as Auto Selfie Capture, Pose Estimation, ID Capture, Hologram Detection and NFC Scan can be selectively enabled using predefined lists. Usage sample is below:
// Dynamic Feature usages samples, select one configuration accordingly your needs. :
//Enables Auto Selfie Capture && ID Capture
val enabledFeaturesSelection1 = listOf(
DynamicFeature.SELFIE_AUTO,
DynamicFeature.ID_CAPTURE
)
//Enables all features
val enabledFeaturesSelection3 = DynamicFeature.allFeatures
//Passing the selected features via configure() below
AmaniSDKUI.configure(
applicationContext = this,
serverURL = "https://server.example",
enab
ledFeatures = enabledFeaturesSelection1
)
//OR
AmaniSDKUI.configure(
applicationContext = this,
serverURL = "https://server.example",
enabledFeatures = listOf(
DynamicFeature.ID_CAPTURE, // ID document scanning & capture
DynamicFeature.ID_HOLOGRAM_DETECTION, // Detect holograms for authenticity
DynamicFeature.NFC_SCAN, // Read chip data via NFC
DynamicFeature.SELFIE_AUTO, // Automatic selfie capture
DynamicFeature.SELFIE_POSE_ESTIMATION // Liveness detection via pose
)
)
16 KB Page Size Support added
Added up-to-date Core SDK
configure()function as a replacement forinit()Core SDK updated from v3.5.15 to v3.6.11
compileSdk updated from 34 to 36
v1.2.43
Fix Selfie Pose Estimation permission issue
General minor fixes coming from Core SDK v3.5.15
v1.2.42
❗❗ Build Breaking ❗❗ Android app module gradle usage changed to add resource exclusion for META-INF.
android {
...
// Added resource exclusion for META-INF/versions/9/OSGI-INF/MANIFEST.MF in Gradle to prevent build conflicts
packaging {
resources {
it.excludes += "META-INF/versions/9/OSGI-INF/MANIFEST.MF"
}
}
}
Resolved a stability issue during back navigation from Fragments, caused by unsafe access to lifecycle components
General minor fixes coming from Core SDK v3.5.14