Has anyone made (or come across) any KMP iOS/Andro...
# multiplatform
j
Has anyone made (or come across) any KMP iOS/Android libraries for dealing with the device camera (e.g. AVCaptureDevice on iOS, etc.)?
l
Hum, It’s not a goal of KMM (which is : use the same code for logic/business on multiple platform and let the device do ‘native things’ such as dealing with Camera)
j
I don't mean an official library.
But there are lots of 3rd party libraries that provide abstractions over platform specific hardware
(Otherwise, why have the expect/actual pattern at all...?)
l
I have not seen any libraries, but I found that it wasn’t very difficult to do expect/actual the one time I needed the camera in an app. A separate Camera library has been on my long list of side projects I’ll get to eventually.
think smart 1
j
Yea if I can't find any prior art on this I was considering taking a stab at it myself