Can I have the following:
1. Create a KMP Library MyAwesomeSDK, which provides an interface to encode / decode / verify JWT (Needed for operation of my AwesomeSDK)
2. Create an iOS XCFramework library MyAwesomeIOSDeps, that implements this interface with the help of SwiftJWT.
3. Send my consumers the maven published KMP Library MyAwesomeSDK and MyAwesomeIOSDeps.xcframework
4. My Consumer will create an iOS Project / KMP App, add dependency on MyAwesomeSDK and MyAwesomeIOSDeps
5. My Consumer will init MyAwesomeSDK from swift or kotlin with:
import MyAwesomeSDK
import MyAwesomeIOSDeps
MyAwesomeSDK.Init(MyAwesomeIOSDeps.JWTImpl())
Slack Conversation