SDK Release Notes
v3.7.8
Passport & ID Capture minor improvements and enhancements
v3.7.6
ID Capture improvements and enhancements
Selfie Pose Estimation improvements and enhancements
v3.7.3
Upload source parameter is added into Amani Event Listener's stepResult callback
Fix socket not closing issues
v3.7.2
Add setTextPaddings function into Selfie to configure text view padding
Amani.sharedInstance()
.Selfie()
...
.setTextPaddings(
left = 20, //Left possible padding accordingly screen dimensions
top = 20, //Top possible padding accordingly screen dimensions
right = 20 //Right possible padding accordingly screen dimensions
)
...
v3.7.1
ID Capture improvements and enhancements
Selfie Pose Estimation improvements and enhancements
v3.7.0
finishSession() function added to terminate all SDK processes. This method should only be called after the SDK flow is fully completed. If the SDK will be used again, you must call startSession() once more after finishSession depending on your lifecycle.
Improve NFC callback exception messages
v3.6.0
Deprecated methods: initAmani() and init(), use configure() instead of init() and startSession() instead of initAmani()
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.
Amani.configure(
context = this,
server = "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