bod
04/11/2026, 1:45 PMremote-creation-compose is an Android artifact. Right?Chrimaeon
04/11/2026, 2:04 PMbod
04/11/2026, 2:05 PMremote-reation-jvm one. But I suspect it's not fun at all 😉bod
04/11/2026, 2:06 PMyschimke
04/11/2026, 4:07 PMbod
04/11/2026, 4:11 PMRemoteComposeContext(
width = 640,
height = 480,
contentDescription = "test",
platform = JvmRcPlatformServices(),
) {
root {
column {
row {
text("Hello,")
text("World!", Modifier.padding(8))
}
}
}
}
but didn't find an example of how to write a document from that yetbod
04/11/2026, 4:14 PMbod
04/11/2026, 7:53 PMtext("test") fails with Unknown operation encountered 239bod
04/11/2026, 7:57 PMyschimke
04/11/2026, 7:58 PMyschimke
04/11/2026, 7:58 PMyschimke
04/11/2026, 7:59 PMyschimke
04/11/2026, 7:59 PMbod
04/11/2026, 8:04 PMyschimke
04/11/2026, 8:10 PMbod
04/11/2026, 8:11 PMyschimke
04/12/2026, 8:43 AMval rc = RemoteComposeContextAndroid(
platform = AndroidxRcPlatformServices(),
apiLevel = 7,ursus
04/12/2026, 10:47 AMbod
04/12/2026, 10:51 AMbod
04/12/2026, 1:57 PMRemoteComposeContextAndroid vs RemoteComposeContext, what’s a Profile, what’s RcPlatformServices, what’s an API level (I suppose not related to Android API level), RemoteDocument vs CoreDocument.
My POC is a server serving a document (a button 😅) and an Android app showing it on screen. Uncommenting this line triggers the unknown operation error.yschimke
04/12/2026, 1:58 PMbod
04/12/2026, 1:59 PMyschimke
04/12/2026, 2:00 PMyschimke
04/12/2026, 2:00 PMyschimke
04/12/2026, 2:02 PMyschimke
04/12/2026, 2:02 PMyschimke
04/12/2026, 2:03 PM/**
* Represent a RemoteCompose *profile*
*
* <p>A *profile* can be set when creating documents and will allow to validate the creation. A
* *profile* encapsulates:
*
* <ul>
* <li>api level for the operations - the operation *profile*s used (i.e., this plus the api level
* defines the set of valid operations)
* <li>a platform services implementation
* <li>a RemoteComposeWriter instance
* </ul>
*
* A subclass of RemoteComposeWriter can be provided by the *profile*, allowing additional validation
* (e.g. validating parameters for a specific functionality) Additional features will likely be
* represented via *Profile* in the future (set of valid host actions, etc.)
*/
public class *Profile* {yschimke
04/12/2026, 2:04 PMyschimke
04/12/2026, 2:06 PMyschimke
04/12/2026, 2:06 PMbod
04/12/2026, 2:07 PMRcPlatformProfiles on my server (JVM) because it's in the android artifact?yschimke
04/12/2026, 2:10 PMyschimke
04/12/2026, 2:10 PMbod
04/12/2026, 2:11 PMbod
04/12/2026, 2:11 PMyschimke
04/12/2026, 2:11 PMursus
04/12/2026, 3:44 PMRemoteColumn etc. Does that mean I cannot use my existing design library of `@Composable`s?yschimke
04/12/2026, 7:32 PMyschimke
04/12/2026, 7:33 PMursus
04/12/2026, 7:49 PMyschimke
04/13/2026, 5:39 AM