corbado / flutter-passkeys

Easily provide passkey authentication based on FIDO2 / WebAuthn for Flutter apps (iOS & Android) via a dedicated Flutter package
https://www.corbado.com/passkeys/flutter
BSD 3-Clause "New" or "Revised" License
64 stars 29 forks source link

Never hit android-no-credential even i do not have credential on Android Device #81

Open jialing941001 opened 1 month ago

jialing941001 commented 1 month ago

Hi team, I'm working on intergrating flutter passkeys into our project. Everything works well on IOS, but one thing is wired on Android. I had created some passkeys on my ios device, then i login my account on my android device, it is expected to see "android-no-credential" but it not and do not throw any error, any success. Cound you help took a look on it?

jialing941001 commented 1 month ago

I found the code in Android dealing with "No Credential" but seems not works. if (e instanceof NoCredentialException) { platformException = new Messages.FlutterError("android-no-credential", e.getMessage(), ""); }