Abdul Basit
12/12/2023, 2:16 PM@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