lyokato / WebAuthnKit-iOS

WebAuthn iOS Library
MIT License
103 stars 30 forks source link

create method #8

Open Nesur opened 3 years ago

Nesur commented 3 years ago

Hey, I am executing method create on WebAuthnClient

let options = self.createCreationOptionsFromJson(publicKeyCreationOptionsJson: publicKeyCreationOptionsJson) webAuthnClient.create(options).done { (c:PublicKeyCredential<AuthenticatorAttestationResponse>) in print("Done") }.catch { (error:Error) in print("Error") }.finally{ print("Finally") } New login dialog appears then after faceId or passcode. After I enter the code or use matching face dialog closes. done, catch or finally is not called I am using simulator but when I had a chance to try it on physical device it was the same.

I know that probably that is not an issue but I think this is the best place for the advice Thank you for your help