I am using Zoom’s UiToolKit in my Kotlin-based Android app built with Jetpack Compose to handle Zoom calls.
After launching the UiToolkitView, I can see the Audio, Video, Share, Users, and More icons on the UI. All icons are clickable and functional, except the Share icon. When I click the Share icon, nothing happens — the associated callback does not seem to trigger.
Dependency
implementation 'us.zoom.uitoolkit:uitoolkit:2.1.10-1'
UiToolKit Listener Setup
val listener = object : UiToolkitView.Listener {
override fun onViewStarted() {
Log.d("ZoomCallHelper", "onViewStarted")
onViewStarted.call(Unit)
}
override fun onViewStopped() {
Log.d("ZoomCallHelper", "onViewStopped")
onViewStopped.call(Unit)
}
override fun onError(error: UiToolkitError) {
Log.d("ZoomCallHelper", "onError: $error")
}
override fun onShareClicked() {
// This method never gets triggered
Log.d("ZoomCallHelper", "onShareClicked")
onShareClicked.call(Unit)
}
override fun onShareEnded() {
Log.d("ZoomCallHelper", "onShareEnded")
onShareEnded.call(Unit)
}
}
UiToolKit Initialization and Listener Attachment
val uiToolkitView = UiToolkitView(context)
LaunchedEffect(Unit) {
uiToolkitView.joinSession(sessionContext)
uiToolkitView.addListener(zoomCallHelper.listener)
}
Issue
The onShareClicked()
callback in the UiToolkitView.Listener
is never invoked, even though the Share icon is visible and clickable in the UI. No logs are printed, and no further action is triggered.
Is this a known issue with the 2.1.10-1
version of the Zoom UiToolKit, or is there an additional step required to enable the Share functionality?