Uploaded image for project: 'Appcelerator Modules'
  1. Appcelerator Modules
  2. MOD-2588

Android: Add fallback support to password, pin, or touch-pattern in "ti.identity"

    Details

    • Sprint:
      2020 Sprint 10, 2020 Sprint 11, 2020 Sprint 12, 2020 Sprint 13, 2020 Sprint 14, 2020 Sprint 15

      Description

      Summary:
      The "ti.identity" module for Android should fallback to using the device's password, pin, or touch-pattern if a biometric means of identification (ie: touch id or face id) is not available.

      To-Do:
      When setting up the Java BiometricPrompt.PromptInfo.Builder, we should call the setDeviceCredentialAllowed() and to true to enable fallback support... but only
      https://developer.android.com/training/sign-in/biometric-auth#allow-fallback

      We should only set it to true if the module's AUTHENTICATION_POLICY_PASSCODE is set. This is for parity with iOS.

      Currently, we prompt in the following 2 places in the code...
      FingerPrintHelper.java#L127
      KeychainItemProxy.java#L159

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                amaheshwari Akansha Maheshwari
                Reporter:
                jquick Joshua Quick
                Reviewer:
                Joshua Quick
                Tester:
                Lokesh Choudhary
              • Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Integration