react-native-keychain icon indicating copy to clipboard operation
react-native-keychain copied to clipboard

[8.1.3][Android] User not authenticated

Open couver-v opened this issue 1 year ago • 1 comments

Problem

getGenericPassword throws the error User not authenticated on Google Pixel devices while using react-native-keychain in 8.1.3

I only reproduce the bug on Google Pixel devices for now

The biometric popup is prompted correctly but it eventually throws the error User not authenticated

Workaround

I was able to make it work by downgrading the package the 8.1.2

To make it work in 8.1.2 with a password previously stored in 8.1.3 I had to either remove the app then reinstall it or use resetGenericPassword to remove the password, then store a new one with setGenericPassword and at this point getGenericPassword would work

couver-v avatar Aug 20 '24 14:08 couver-v

@couver-v Thank you for opening the issue. I'm experiencing the exact same problem. Fortunately, it looks like a fix may be coming soon (#337, #630). I'll stick to 8.1.2 for now.

g-todorov avatar Oct 18 '24 12:10 g-todorov

This will be fixed in upcoming 9.2.0

DorianMazur avatar Nov 11 '24 10:11 DorianMazur