epicshaggy / capacitor-native-biometric

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set Credential Error

sagun-gautam opened this issue · comments

I am receiving error on setCredentials method when using following data, it was working before not anymore.

NativeBiometric.setCredentials

callbackId: "92098633"
methodName: "setCredentials"
options: {username: "1001", password: "abc1234#", server: "com.sagun.appName"}
pluginId: "NativeBiometric"
type: "message"

Error Response

{
  errorMessage: "The operation couldn’t be completed. (CapacitorNativeBiometric.NativeBiometric.KeychainError error 0.)"
  message: "The operation couldn’t be completed. (CapacitorNativeBiometric.NativeBiometric.KeychainError error 0.)"
}

Seeing this error as well but this is the first time using this project for FaceID.
@sagun-gautam Where you able to get passed this?

Seeing the same error too, can't find a solution +1

commented

I have the same

Try to remove the credentials first with NativeBiometric.deleteCredentials({ ... }) and then set the credentials