In Docusign 3.0.3 version app working perfectly. Recently I have updated the Docusign framework to V3.4.0 using cocoapods.
Also I have changed the syntax for DSMManager.login method.
But in the latest version 3.4.0 the app throwing the error while calling the function,
templatesManager?.presentSendTemplateControllerWithTemplate()
Error getting: Template has invalid recipient(s) associated with roleName: Assistant. Current Setup config for DSM_SETUP_RECIPIENT_DEFAULTS_CASE_INSENSITIVELY_MATCH_ROLE_NAME : false
And I checked in Docusign template and verify the role name. It's same as Assistant. There is no case mismatch.
Here is my configuration code of Docusign,
let configuration: [String: Any] = [DSM_SETUP_OFFLINE_SIGNING_USE_PLACEHOLDER_TAB_VALUE: false, DSM_SETUP_DISABLE_CONTACTS_USAGE_KEY: false]
DSMManager.setup(withConfiguration: configuration)
DocuSignSyncEnvelopesWorker.shared.configure()