https://kotlinlang.org logo
#compose-web
Title
# compose-web
a

Abdul Basit

12/12/2023, 2:16 PM
Hello, I am try to use Camera on Compose Web. In Common, i have
Copy code
@Composable
expect fun CameraView(
    modifier: Modifier
)
and implementation on each platform. Working best on Android and iOS. Now wondering about Web. What i have done on web is that i have added a
div
tag and once i create a dynamic video element, then i replace that
div
with my
videoElement
because i need to add that to
dom
. I was wondering if there is any better approach like we do in iOS and Android, returning
UIKitView
or
AndroidView
4 Views