Skip to content

Commit

Permalink
feat(cozy-device-helper): Add biometry_authorisation_denied interface
Browse files Browse the repository at this point in the history
On iOS with FaceID the biometry feature is guarded by OS level
authorizations

If the user reject the authorisation process, then the application
won't be able to use FaceID anymore until the user re-authorizes it
from the OS settings

We want this information to be available from the settings cozy-app
  • Loading branch information
Ldoppea committed Nov 14, 2022
1 parent 404afa4 commit d6eb024
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cozy-device-helper/src/flagship.ts
Expand Up @@ -12,6 +12,7 @@ export type BiometryType = 'TouchID' | 'FaceID' | 'Biometrics'

export interface FlagshipMetadata {
biometry_available?: boolean
biometry_authorisation_denied?: boolean
biometry_type?: BiometryType
immersive?: boolean
navbarHeight?: number
Expand Down

0 comments on commit d6eb024

Please sign in to comment.