Skip to content

Question: Differences between canImplyAuthentication and isPasscodeAuthAvailable / getSupportedBiometryType #786

@mmiller42

Description

@mmiller42

I have a question about the methods exposed by react-native-keychain.

  • canImplyAuthentication() is an iOS-only method and can be passed an optional options argument: { authenticationType: AUTHENTICATION_TYPE.BIOMETRICS | AUTHENTICATION_TYPE.DEVICE_PASSCODE_OR_BIOMETRICS }
  • isPasscodeAuthAvailable() and getSupportedBiometryType() are cross-platform methods

My question is: does canImplyAuthentication() actually provide any information that cannot also be determined with isPasscodeAuthAvailable() and getSupportedBiometryType()? If so, what is the precise meaning of "can imply authentication" on iOS?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions