Hi guys. For a project I’m working on I’ve been bu...
# compose-ios
n
Hi guys. For a project I’m working on I’ve been busy implementing a proof of concepts to move some simple views to compose multiplatform. If I’m right it’s (for now) impossible to generate previews in the multiplatform library. So I’ve added @Previews in the android module, but as I’m using multiplatform resources the previews won’t render as the files seem to be missing (see screenshot). When I run the app the images are present.. What am I doing wrong or is this not possible (yet)?
r
You should try setting up the previews on jvm
n
I’m using Paparazzi to make screenshots from @Preview annotations and compare them to previous screenshots.. So it would be nice to render the previews in the android module (not in androidMain in KMP, but in the actual android module)
Previews (with xml resources) aren’t working but paparazzi is, so for the time being this is enough for me to prove the UI’s are “exactly” the same