Ok, I'm new to Kotlin, so just want to validate so...
# getting-started
s
Ok, I'm new to Kotlin, so just want to validate some info. My goal is to write a library (or SDK/API) in Kotlin Multiplatform that will be consumed by native mobile clients in either Android (Kotlin, Java) or iOS (Swift, Objective-C). From what I understand, the generated SDK artifact would be a .framework file for iOS consumers and a .jar file (or .class files) for Android consumers, is this correct? Thanks in advance!
I also wanted to add that possible clients (consumers) of the SDK could be written in Xamarin (with proper bindings) or React Native, for instance.
d
Yes, this is correct.
s
Thanks @Dominaezzz. Follow-up noob question: If an "external" Android client written in Kotlin were to consume the SDK, it would still need to "import" the library (the .jar file), right?
d
Yes
s
👍
Since I'm also new to IntelliJ IDEA, I'm wondering if someone could explain me the differences between these various options of Kotlin Projects: - Multiplatform Library | Gradle - Mobile Android/iOS | Gradle - Mobile Shared Library | Gradle Based on the descriptions, the differences seem subtle.
d
Ask in #multiplatform