Shopify went full native; trivago went to KMP! I a...
# feed
p
Shopify went full native; trivago went to KMP! I am happy to share that trivago mobile apps are now end-to-end written with KMP. We managed to reuse UI from the Android side (Jetpack Compose) and business logic from the iOS side (Redux architecture) and deliver the new app in a matter of weeks! I want to emphasize a few things: • Redux architecture works AMAZING with Compose. We literally translated Swift to Kotlin, used the power of StateFlow and data classes, and got an amazing codebase. • We used frontier AI models to help us with the migration. As a matter of fact, around 95% of the code was written by AI • 95% of the UI is shared • We didn't have any major problems with an Accessibility topic. Everything worked on both platforms. • We didn't face any major performance issues. I am posting this message here as I want to share our success. If you guys have any questions, please let me know. Until then, big thanks to the JetBrains team, we got full support, and the transition went smooth.
🔥 14
K 46
🚀 14
K 10
j
Will there be a blog post about this on tech.trivago.com? 🙂
☝️ 1
p
I need some time to write it down, as I don't want to use an AI for it, but yes, eventually 😄 Thanks for showing an interest 🙂
❤️ 7
s
Thanks for sharing these kind of success stories, very encouraging!
gratitude thank you 1
t
Awesome!
gratitude thank you 1
g
Just to be clear: "95% of the UI is shared" , so you use CMP ? (Congrats btw!)
🙌 1
p
Yes, it's Compose Multiplatform. If you install iOS app now, you would see that it looks Androidish 🙂
🤣 1
cmp 3
😅 1