Is there any way to use kotlin specific libraries for Kotlin Multiplatform Mobile common business logic? I have a dependency on Amplify that works fine for just android but doesn't support Kotlin Multiplatform Mobile. I am trying to use it for both ios and android GraphQL queries and subscriptions. I can't add this to common dependencies. Is this possible or do we need to switch to something like apollo for KMM for our GraphQL queries and subscriptions?
You can wrap the Amplify implementation in some Common classes that use expect/actual or declare interfaces in the common code and then inject the platform specific implementation from each app.