Hi everyone, I'm currently building a dating app i...
# multiplatform
m
Hi everyone, I'm currently building a dating app in Jetpack Compose. My client has asked me to migrate the app to Compose Multiplatform. The app uses Firebase for the backend, Dagger Hilt for dependency injection, and CameraX for camera functionality. Does Compose Multiplatform support these technologies at this time, or should I consider exploring Flutter or React Native instead?
m
Afaik Hilt is AndroidJVM, so you need to use Koin (which i like more actually). Firebase there is a community Firebase version you can try (google kmp firebase, first result). And for CameraX you would need a different implementation on iOS. That being said - none of the technologies you names would work in Flutter or RN, since none of them are Kotlin. So go with KMP and find workarounds;)
4
Imho dating app is easy doable at this point with Kmp cmp
c
If you can rewrite everything, I’d suggest going with Flutter. there are packages for camera and firebase that are well maintained alrady. Kotlin Multiplatform is lacking behind a little bit (of course due to it’s “age”). you will not need Hilt/Dagger as there are different approaches in Flutter.
e
For dependency injection there’s also kotlin-inject, which is very similar to Dagger. You could also just use KMP and write the UI in SwiftUI on iOS, which is pretty similar to Compose.
s
Have you tried Klibs.io to search for KMP libraries that support camera/firebase? Eg https://klibs.io/?query=Camera
🙌 1