I'm a kotlin lover and i love jetpack compose. Is ...
# compose
j
I'm a kotlin lover and i love jetpack compose. Is it good for use compose multiplatform for production app which will be uploaded in play store and app store?
j
What do you mean by "good"?
j
I mean it's safe or not?
a
The resulting code is objective-c (iOS) (or swift when kotlin 2.0 is released) and java bytecode in android. That means that the code is fully compatible with both app stores, same as with native code, nothing “special” about it. So you should be fine.
m
just be aware that you may be missing some tools… for now
j
Thank you guys.
k
@Alex, it’s not true that the resulting code is objective-c. Kotlin Native is compiled directly to native binaries, the same as Obj-C and Swift, and is interoperable with Obj-C. It’s not going to change after Kotlin 2.0 is released.
👍 2
☝️ 2
a
I guess you are correct, I was remembering this part: Which on kotlinconf was announced to be more swift focused in the future, instead of continuing the objective-c interop https://kotlinlang.org/docs/native-objc-interop.html#name-translation
👍 1