Hey guys, one of my side projects is an android twitter app using jetpack compose. At some point I decided to just create a library for the new Twitter V2 api, I’m using retrofit and OKHTTP for networking but since I’ve started digging into iOS development I’ve decided I want the library to also be accessible for iOS. Looking at the Ktor docs, it seems pretty straight forward to create some common networking code and platform specific implementations for the things that cannot be shared.
Does it make sense to take advantage of KMM here? I think it does, but most of the examples I see around are of KMM applications, all the code is in a single project and not really any ‘libraries’ . I want to provide a library which another person could leverage to create either an Android, iOS or even a KMM app if they wanted to.
Thanks