Kastri icon indicating copy to clipboard operation
Kastri copied to clipboard

Biometric Demo Delphi 12.3 not working

Open Dev-IZAR opened this issue 4 months ago • 7 comments

After building with Biometric, authentication works, but the result is not returned. In Android logcat, the onAuthenticationSucceeded message is displayed, but the success or failure result is not returned.

Dev-IZAR avatar Aug 15 '25 14:08 Dev-IZAR

This demo is fairly outdated, as Delphi 12.3 has built-in support for Biometric authentication. I suggest trying that.

DelphiWorlds avatar Aug 15 '25 19:08 DelphiWorlds

In Delphi 12.3, using Biometric causes the app to crash. Also, the sample projects that were previously included by default have been removed in 12.3. That’s why I wanted to use Kastri.

Dev-IZAR avatar Aug 15 '25 20:08 Dev-IZAR

What version of Android is on the device you are testing with?

DelphiWorlds avatar Aug 15 '25 20:08 DelphiWorlds

  1. Galaxy S9+ (Android 10)
  2. Galaxy Note20 Ultra (Android 13)

Dev-IZAR avatar Aug 15 '25 23:08 Dev-IZAR

The built-in support should be working for Android 10+. I need to build a demo to verify that it still works in 12.3, so stay tuned.

DelphiWorlds avatar Aug 16 '25 05:08 DelphiWorlds

Thank you for your dedication. I’ll be looking forward to it.

Dev-IZAR avatar Aug 16 '25 05:08 Dev-IZAR

I've added a demo to the HowTo repository, here. If using TBiometricAuth in your own project, please ensure that you read the readme, as it has information about project configuration.

DelphiWorlds avatar Aug 16 '25 05:08 DelphiWorlds