chatUiModule
Configures the UI module for Koin dependency injection.
This method sets up the required dependencies for the UI layer, including notification management, logging, and chat-related services.
The caller has to register androidContext(...) as well. This configuration does not register it, and the UI resolves android.content.Context and android.app.Application from the Koin graph, so without it the first injection inside com.nice.cxonechat.ui.screen.ChatActivity fails rather than the call to startKoin.
Example usage:
startKoin {
androidContext(applicationContext)
includes(UiModule.chatUiModule())
}Parameters
The Logger to use for logging. Defaults to LoggerNoop.
UiCustomFieldsProvider for extra customer field definitions, default is NoExtraCustomFields.
UiCustomFieldsProvider for extra contact field definitions, default is NoExtraCustomFields.