Open sontungexpt opened 4 months ago
What platform does this happen on? What OS version are you using? Please provide more information on the issue.
I am trying to implement this into base react native app. On IOS I managed to get it all working however on Android I do receive this error.
I can successfully register the credential, however when I try to authenticate, the request fails with the same error as above.
"dependencies": {
"axios": "^1.7.2",
"base64url": "^3.0.1",
"react": "18.2.0",
"react-native": "0.74.3",
"react-native-passkey": "^2.1.1"
},
For Android testing I am using POCO F3 with OS Version 1.0.1.0.TKHEUXM and Android Version 13 TKQ1.221114.001
Edit: Updating to latest commit still did not resolve the issue. I dont have any other Android devices near me, so cant test somewhere else.
@KraljSamo react-native-passkey 3.0.0-beta included an update for the native androidx.credentials library. Has your problem been resolved by now?
Unfortunately, this isn't a problem of this library itself, but rather of the nature of Android implementation. I consistently get this error whenever my assertion requests contain allowCredentials
array. I suggest you try omitting it from your request and see if it would work then.