let newNavigationController = UINavigationController()
coordinator.update(router: newNavigationController)The configurator's environment, language, and host hash can be updated without recreating the entire configurator.
configurator.environment = .development
configurator.language = .russian
configurator.host = "<NEW_HOST_APP_HASH>"Create and assign a new configurator when the host application needs to replace the authentication manager, configuration, or details delegate.
let newConfiguration = try EcoConfiguration.build(
environment: .development,
language: .azerbaijani,
host: "<HOST_APP_HASH>"
)
let newConfigurator = EcoConfigurator(
configuration: newConfiguration,
authManager: newAuthManager,
detailsDelegate: newDetailsDelegate
)
coordinator.update(configurator: newConfigurator)hostDelegate parameter, while the replacement example above uses detailsDelegate. Confirm the correct initializer parameter label for the SDK version being integrated.