Has anyone stumbled on a good tutorial or step-by-...
# compose-ios
v
Has anyone stumbled on a good tutorial or step-by-step guide of what needs to be done to enable Camera support on Android and iOS?
👍 1
v
Hello! Have you seen image viewer example in compose repo? It has needed functionality. Not a tutorial though, but might be helpful
thank you color 1
v
I”m taking a look now, thanks. Is there a guide as well as to what is required? Would love to understand the process of making something compatible with compose multiplatform, or is it a matter of making a KMP package? Same process?
c
they do it in this presentation (and theres a github repo too)
gratitude thank you 1
y
i just ran into this too, this code has been there since april, has the latest improvements to compose ios affected the implementation? i mean maybe now some things can be simpler?
v
This example is up to date, we didn’t do any simplification for camera since April. And for now, we’re not planning to make simple camera component in near future.
gratitude thank you 1
Is there a guide as well as to what is required?
As far as I remember, we don’t have any official guides for it for now.
Would love to understand the process of making something compatible with compose multiplatform, or is it a matter of making a KMP package? Same process?
Not sure, that I understood you correctly, but when you’re writing a component which uses iOS specific API, you’re working with iOS API through Kotlin Multiplatform, so it’s kinda same process.
y
@Vladimir Mazunin this code looks like it can be easily moved into a multiplatform library to be consumed by any multiplatform project which needs ios/android/… support
but i also see that jetbrains doesn’t go to that domain of creating multiplatform libraries like that
👍 3
v
@Yehonatan Levi yes, you’re right. Surely it can be easily moved into separate library, but this is not our priority right now.
âž• 1