Skip to content

Crash on launching with Face ID support on iPhone X, iOS 11.4 #193

@mgod

Description

@mgod

This isn't a bug in the library, but you are now required to add a NSFaceIDUsageDescription with some string value if you support Face ID for your passcode unlock. I'm not sure if there's a way to check the plist for this value at runtime and avoid initiating Face ID if it's missing, but the docs should probably be updated and I'm leaving this here for others to reference.

To reproduce the issue:

  1. Launch an iPhone X or iPhone X simulator on iOS 11.4 with Face ID enabled and with faces enrolled
  2. Add a passcode to your app with biometric support enabled
  3. Re-launch the app to trigger the passcode lock
  4. You should get a crash at this point instead of a Face ID prompt.

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