M Peeran
06/12/2023, 8:56 AMPramod
06/12/2023, 9:29 AMPramod
06/12/2023, 9:29 AMŁukasz Nowakowski
06/12/2023, 9:51 AMM Peeran
06/12/2023, 9:52 AMŁukasz Nowakowski
06/12/2023, 9:53 AMM Peeran
06/12/2023, 9:55 AMM Peeran
06/12/2023, 9:56 AMŁukasz Nowakowski
06/12/2023, 10:01 AMM Peeran
06/12/2023, 10:02 AMŁukasz Nowakowski
06/12/2023, 10:03 AMM Peeran
06/12/2023, 10:04 AMCLOVIS
06/12/2023, 10:14 AMCLOVIS
06/12/2023, 10:15 AMM Peeran
06/12/2023, 10:15 AMŁukasz Nowakowski
06/12/2023, 10:17 AMM Peeran
06/12/2023, 10:21 AMVidmantas Kerbelis
06/12/2023, 11:43 AMVidmantas Kerbelis
06/12/2023, 11:44 AMM Peeran
06/12/2023, 11:45 AMVidmantas Kerbelis
06/12/2023, 11:48 AMM Peeran
06/12/2023, 11:49 AMPramod
06/12/2023, 11:53 AMVidmantas Kerbelis
06/12/2023, 11:53 AM• Retrofit (network library) to be replaced by KTORFor me it was quite straightforward and simple. The hardest part was the initial setup to get everything right.
• Room ( cache library) to be replaced by SQLDelight librarySQLDelight for me was a bit trickier than Room, again.. the initial setup was mostly the tricky part, when you get one or two use cases going, you start to figure out how everything works and it becomes simple.
• Native Serialization to be replaced by Kotlin Serialization for all DTOsKotlinx serialization for me IS the way to go. It’s super similar to something like Gson or Moshi, even simpler, I’d say.
Vidmantas Kerbelis
06/12/2023, 11:59 AMIs there a way to do the migration incrementally?Short answer: Yes Longer answer: I know way too little details to comment on this 😄 I know you’re building the iOS app from scratch. I know that there might be a time constraint. Let’s say you have an iOS dev that knows the iOS stack very well, and could build the app quite quickly just by copy/pasting implementations from Android. I’d say, as you’re new to the Kotlin multiplatform environment - and Android needs some catching up to do on it’s own technologies in your project, - don’t rush into making everything multiplatform. Start off by refactoring lower level parts of Android - releasing them, at the same time building up the iOS app using those newly written Android parts in multiplatform. Soo… Specifically start off with the network and database layers. … Later on you’ll get a feeling of what to do next once you’re more comfortable and understand more about the multiplatform technology.
Pramod
06/12/2023, 12:03 PMPramod
06/12/2023, 12:07 PMStart off by refactoring lower level parts of Android - releasing them, at the same time building up the iOS app using those newly written Android parts in multiplatform.
Soo… Specifically start off with the network and database layers
Pramod
06/12/2023, 12:08 PM