Skip to content

Discussion: Compatibility with ComposablePreviewScanner 0.7.0 #720

@sergio-sastre

Description

@sergio-sastre

@takahirom
ComposablePreviewScanner moved some methods of AndroidPreviewScreenshotIdBuilder to a different location to provide some common PreviewScreenshotIdBuilder methods for Glance and Compose Multiplatform as well.

Since the Roborazzi plugin generates code, the import does not match anymore and the auto-generated Roborazzi tests from Previews fail when using 0.7.0, as stated here:
sergio-sastre/ComposablePreviewScanner#78

Ideally, we could provide the right import based on the composable PreviewScanner version.

Alternatively, I could use some kind of delegation pattern and fix it on the ComposablePreviewScanner side, in 0.7.1

What are your suggestion/thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions