Cannot update ASCredentialIdentityStore while device locked

Our product includes a background sync process that synchronizes credentials between devices. We need to update ASCredentialIdentityStore when credentials are changed, we have noticed that the ASCredentialIdentityStore.shared.saveCredentialIdentities() fails to run when the device is locked.

Is it possible to update ASCredentialIdentityStore when the device is locked?

Cannot update ASCredentialIdentityStore while device locked
 
 
Q