Hey everyone, is it possible to create multi-platf...
# multiplatform
d
Hey everyone, is it possible to create multi-platform SDKs using Compose Multi-platform? My use case is to develop a UI SDK for both Android and iOS.
k
Yeah you can develop Multiplatform sdk for both, just note that compose is Material UI and will be same for both platforms.
j
You don't need to use Compose UI. UIKit works fine from Kotlin for iOS targets.
👍 2
d
Thanks for your reply! Here's my use case: I have a composable layout, let's call it "SomeComposeScreen." I want to provide this as an Library/SDK to both Android and iOS developers so they can easily load this UI into their native apps. Is this feasible? My goal is to streamline the process and minimize resource usage. Any available documention for this?
d
compose multiplatform works great, you just need to create entry points for your sdk and instatiate them on android and ios .
d
Thanks @Dennis, any sample projects or documentations for start?
d
k
I have a similar use case and i have developed the CMP SDK (for iOS I am building cocoapod dependency inorder to support existing RN projects) that is used in Android, iOS and React Native project as library.I cannot share here since it being in company sdk.