is there any guide on how to take an existing andr...
# compose-ios
c
is there any guide on how to take an existing android compose app and convert it to kmp + compose multiplatform w/ ios? or should i just look at the template and try to manually diff?
👍 1
👍🏻 1
a
This might help
❤️ 2
k
I did/ would do the following order: • Logic/viewmodels to multiplatform with expect/actual implemtation for platform specific things • Implementing a start point for the iOS app • Thinking about resource management/testing it on iOS (multi language, images etc) • Migration navigation in your android app to either a custom one that works with multiplatform • Start Migrating all Android compose dependencies to múltipla dependencies and check where you need to change code • And then you can finally move your compose code to a shared module
a
This talk might be useful, features a live conversion of an Android app. https://www.droidcon.com/2023/07/31/shared-mobile-uis-with-compose-multiplatform/
c
❤️ thank you everyone
👍 2
Funny that someone just posted this in #compose https://kotlinlang.slack.com/archives/CJLTWPH7S/p1691318624954659
Also seems like this video does a migration from android to common https://www.droidcon.com/2023/07/31/shared-mobile-uis-with-compose-multiplatform/
Looks like this is a guide too on how to convert: https://kotlinlang.org/docs/multiplatform-mobile-integrate-in-existing-app.html someone was troubleshooting here