EddyVerbruggen / nativescript-secure-storage

:closed_lock_with_key: NativeScript plugin for secure local storage of fi. passwords
MIT License
111 stars 26 forks source link

Biometrically authenticate user when he tries to read a key on Android #37

Closed bliulin closed 4 years ago

bliulin commented 4 years ago

Hi @EddyVerbruggen ,

From what I see in the documentation and code the feature of requiring the user to authenticate with his fingerprint/face in order to read/write a key in the key store is only available on iOS? Will it be available on Android in the future? Thanks!

// iOS
export class SecureStorage { ...
constructor(accessibilityType: string = kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly) { ... }

// Android
export class SecureStorage { ...
// parameterless ctor... no way to provide accessibility type
constructor() { ... }
EddyVerbruggen commented 4 years ago

It's not planned for Android.