Fingerprint component not working

After upgrading from Iris version 9.2.76 to Iris version 9.2.78, Fingerprint component not working in android (imported from the Volt MX Marketplace).


We are using this component: https://marketplace.hclvoltmx.com/items/fingerprint-authentication?search=Fingerprint (version 1.0.0)


We have tested 1.0.4 version also having same issue.


In this component, under Modules > touchidController, getting exception at this line:
var status = voltmx.localAuthentication.getStatusForAuthenticationMode(constants.LOCAL_AUTHENTICATION_MODE_TOUCH_ID);.
Refer to the code below:


checkTouchIDSupport: function() {
konymp.logger.trace("In checkTouchIDSupport function", konymp.logger.FUNCTION_ENTRY);
try {
var status = voltmx.localAuthentication.getStatusForAuthenticationMode(constants.LOCAL_AUTHENTICATION_MODE_TOUCH_ID);
if (status != "5006" && status != "5008" && status == "5000") {
return true;
} else if (status == 5005) {
alert("Authentication does not start because the passcode is not set on the device.");
} else if (status == 5006) {
alert("Authentication does not start because Touch ID is not available on the device.");
} else if (status == 5007) {
alert("Authentication does not start because Touch ID has no enrolled fingerprints.");
}else if (status == 5009) {
alert("Too many failed attempts. Try login using username and password.");
} else {
alert("Error invoking touch ID. Status code : " + status);
}
return false;
} catch (exception) {
konymp.logger.error(JSON.stringify(exception), konymp.logger.EXCEPTION);
}
konymp.logger.trace("------------Exiting checkTouchIDSupport function---------", konymp.logger.FUNCTION_EXIT);
},


Exception we are getting :
errorCode: 605
message: "java.lang.ExceptionInInitializerError"
name: "Unknown Error"
stack:"at checkTouchIDSupport (com/konymp/touchid/touchidController.js:53:57)
at invokeTouchID (com/konymp/touchid/touchidController.js:35:30)
at AS_FlexContainer_d39b89ec850d448792a5fc17e0ce2f41 (com/konymp/touchid/touchidController.js:181:14)"

HI @Gaurab Banerjee,

Can you please look into the issue?

Regards,
Harish Kumar

Hi @Anita Muthiah,

We are encountering the same error that you have reported. After thorough debugging, we've identified that the call needs to be made on the main thread. We are actively working on addressing this issue and will keep you updated on our progress.

Thanks,
Gaurab

Hi Gaurab,
Any update on this.

Hi @Anita Muthiah,

Thank you for your inquiry. As mentioned previously, we are actively working on addressing this issue and will continue to keep you updated on our progress. We appreciate your patience and will notify you once there are any significant developments and publication.

Thanks,
Gaurab

Hi @Anita Muthiah,

Thank you for reaching out to us. We came to know that there is currently an issue with the platform’s Gradle entries for biometric dependencies. At the moment, the platform is not automatically including the necessary dependency, so you will need to manually add it in the Project Settings under Gradle Entries to make it work.

Please refer to the image below for guidance on how to enter the dependency manually. We’re actively working on resolving this issue, and this will be addressed in the next Iris release. Until then, the manual entry is required.

dependencies {
implementation 'androidx.biometric:biometric:1.1.0'
}

This will ensure that the Fingerprint component functions correctly.

Additionally, we are in the process of updating the documentation for the Fingerprint component to reflect this workaround, ensuring users are informed about the necessary manual entries.

We appreciate your patience and understanding as we work on this fix.

If you have any further questions or need assistance, feel free to let us know!

Thanks,
Gaurab