on-internet
← Community

Locksmith error: Locksmith.LocksmithError.interactionNotAllowed

Stack Overflow ·

we're using Locksmith to save user data for Keychain. In our end everything works as it should but for some reason we receive crashes with the error Locksmith.LocksmithError.interactionNotAllowed. Follows the code where the crash happen: func updateUserAccessToken(forAccount account: String, token: String) { var userAccessToken = Locksmith.loadDataForUserAccount(userAccount: account) ?? [String: Any]() userAccessToken[“token”] = token try! Locksmith.updateData(data: userAccessToken, forUserAccount: account) } Why is the code above crashes for other users? 'til . now we can't replicate the said

Comments

Sign in or sign up to comment and upvote.

No comments yet.