I am developing password manager App with autofill Credential Provider
extension.
method provideCredentialWithoutUserInteraction
of ASCredentialProviderViewController
is not getting called or not able to trace via breakpoint.
Code I have tried so far:
override func provideCredentialWithoutUserInteraction(for credentialIdentity: ASPasswordCredentialIdentity) {
print(credentialIdentity.serviceIdentifier.identifier)
let credToProvide = ASPasswordCredential(user: "udayyy", password: "paasssss")
self.extensionContext.completeRequest(withSelectedCredential: credToProvide, completionHandler: nil)
}
also not able to print any logs. Can any one help me with how to debug this method?
What exactly I want show my custom password on top of the keyboard.(shown in below left image)