Hello everyone,
We are trying to migrate our multi-modular mobile solutions to KMP. It's progressing quite nicely, but we are still facing challenges. There are 2 SDKs we would like to keep native in both Android and iOS as they use a lot of hardware specific API.
We would like to create a tiny KMP module that consumes both iOS and Android SDK and offers the unified API. The problem is with iOS - we tried multiple ways to integrate xcFramework into KMP module but it does not work for us. The only option we found is to create export API and link it with the native xcFramework on the App stage. Not very nice from distribution point of view and it takes a lot of time to re-compile the app.
I think our problem is not unique (combine native SDKs into a single KMP module). Is there any way to do this? Some guide?