idpass / inji

MIT License
1 stars 2 forks source link

Enable "Use biometrics" but launch an error message if there are no biometrics added on a device that supports it #196

Open jannahadlaon opened 2 years ago

jannahadlaon commented 2 years ago

Describe the bug "Use biometrics" is disabled when there are no registered finger prints in a device that supports it.

To Reproduce Steps to reproduce the behavior:

  1. Don't register any finger print in the device
  2. Open app - popup displayed asking to access device location
  3. Click "While using the app - should be taken to welcome screen with button "Get started"
  4. Click "Get started" - should be taken to screen with choice between “Use biometrics” and “I’d rather use a passcode”
  5. Click “Use biometrics” (or verify if it's enabled)

Expected behavior Error message should be displayed saying "To use Biometrics, please enroll your fingerprint in your device settings.

Reproduced on 0.3.0rc5_1.2

Screenshots Screenshot_20220518-140423_MOSIP Resident App

danicaerediano commented 2 years ago

@jannahadlaon this is already handled in the recent build right, please confirm

jannahadlaon commented 2 years ago

@danicaerediano this issue is still present in the recent build.