So, we are thinking of using KMM to make our existing Android App work on iOS. There are some Android libraries which are written in Java we are using. How could we make it work on iOS when we move to KMM? Should we replace them with some other libraries or is it going to just work? I know this could sound dumb but I’m just starting off with KMM.
If the libraries are JVM-specific, you'll need to find replacements for them that support multiplatform (if they are available), or write a common API that delegates to those libraries on the JVM and to other implementations on other platforms
11/14/2023, 6:49 PM
You should also check if there is a KMM-compatible equivalent to the Android library. For example, retrofit or OkHTTP could be replaced with ktor or ktorfit. You could also open an issue on the Android dependency requesting multiplatform support.