1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-22 11:35:21 +01:00

[PM-8666] Fix Password Autofill from Quick Type on iOS < 17 (#3282)

This commit is contained in:
Federico Maccaroni 2024-06-06 16:30:51 -03:00 committed by GitHub
parent 14d2660b61
commit 81205154c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -152,17 +152,17 @@ namespace Bit.iOS.Autofill
} }
} }
//public override async void ProvideCredentialWithoutUserInteraction(ASPasswordCredentialIdentity credentialIdentity) public override async void ProvideCredentialWithoutUserInteraction(ASPasswordCredentialIdentity credentialIdentity)
//{ {
// try try
// { {
// await ProvideCredentialWithoutUserInteractionAsync(credentialIdentity); await ProvideCredentialWithoutUserInteractionAsync(credentialIdentity);
// } }
// catch (Exception ex) catch (Exception ex)
// { {
// OnProvidingCredentialException(ex); OnProvidingCredentialException(ex);
// } }
//} }
[Export("prepareInterfaceToProvideCredentialForRequest:")] [Export("prepareInterfaceToProvideCredentialForRequest:")]
public override async void PrepareInterfaceToProvideCredential(IASCredentialRequest credentialRequest) public override async void PrepareInterfaceToProvideCredential(IASCredentialRequest credentialRequest)
@ -197,17 +197,17 @@ namespace Bit.iOS.Autofill
} }
} }
//public override async void PrepareInterfaceToProvideCredential(ASPasswordCredentialIdentity credentialIdentity) public override async void PrepareInterfaceToProvideCredential(ASPasswordCredentialIdentity credentialIdentity)
//{ {
// try try
// { {
// await PrepareInterfaceToProvideCredentialAsync(c => c.PasswordCredentialIdentity = credentialIdentity); await PrepareInterfaceToProvideCredentialAsync(c => c.PasswordCredentialIdentity = credentialIdentity);
// } }
// catch (Exception ex) catch (Exception ex)
// { {
// OnProvidingCredentialException(ex); OnProvidingCredentialException(ex);
// } }
//} }
public override async void PrepareInterfaceForExtensionConfiguration() public override async void PrepareInterfaceForExtensionConfiguration()
{ {