How can I trigger, or rather, when is the ASCredentialProviderViewController.prepareOneTimeCodeCredentialList(for:)
method triggered? I can't seem to get it to work.
- I've added the
ProvidesOneTimeCodes
key to the Info.plist. - I've added the
com.apple.developer.authentication-services.autofill-credential-provider
entitlement. - Example of the extension:
class CredentialProviderViewController: ASCredentialProviderViewController { override func prepareOneTimeCodeCredentialList(for serviceIdentifiers: [ASCredentialServiceIdentifier]) { print("********************************* prepareOneTimeCodeCredentialList \(serviceIdentifiers)") } override func prepareInterfaceForUserChoosingTextToInsert() { print("********************************* prepareInterfaceForUserChoosingTextToInsert") } }
- The app is enabled in the
AUTOFILL FROM:
in Settings App.