<Remote Compose for Android> is in alpha (1.0.0-al...
# compose-ui-showcase
d
Remote Compose for Android is in alpha (1.0.0-alpha13). There's no official KMP/CMP version yet, however you can play with it using the unofficial Remote Compose Playground. Integrate with the KMP/CMP Remote Compose Player from the Playground by following the instructions here. The library should work on Android, iOS, Web, and Desktop. More operations will be supported over time!
🚀 4
y
May I ask what this library does?
Is it a server side UI rendering of some sort?
d
It is more like "Server-driven UI" where the backend sends a binary payload (ByteArray) to the client and the client plays (renders) it using Compose Multiplatform.
y
I see
very interesting
I would love to know the security implications of this
a
This is a badass tool!
y
The RC creation API is now KMP
Or at least android and jvm. There are a bunch of other players that work outside android
a
I’m kinda curious if I can use this to bake Lottie animations into a binary format. Kinda disappointed with the lottie players that exist today for Compose
Seems like the RC format supports most of the drawing operations required
a
Well that answers that question 😆
horologist is the watch specific lib though, yeah? Does this just work without wearos deps?
It looks like it would, but, it is in horologist
Yep, horologist is mostly wear. But this is KMP
It's a lot of paperwork to get approved for a new lib, and most androidx RC is currently wear. So a cheat code to publish it
a
Fair enough! I’m gonna convert an area that uses lottie at work to this I think
y
Personally, If I didn't already use remote compose for the screen, I'd stick with compose UI. But let me know, and file bugs
a
The draw is KMP here, for me. I’m pushing us to be Kotlin first instead of Android first, so we can iterate quicker with AI and the JVM (especially since compose hot reload is such a joy to use)
The little learning mode thing is Lottie. I’m also trying to migrate years and years of view system tech debt into compose, so I might as well see how it works as an experiment
(the product image however is a canvas with extensions to draw with PBR shaders 😄)
Is the remote compose lottie lib published anywhere?
y
I'll cut a release next week
a
Cool, for now I’ll just use include build as an experiment