Closed eyedol closed 4 months ago
@takahirom opened a PR to get something going. Currently using kotlinx.io lib. Seems straightforward though I'm hitting an issue with dropbox's differ library. It's not able to resolve iOS packages for some reasons. I saw the PR you made to address this but it seems it didn't resolve it entirely as even using a snapshot release of the differ, I still faced the same issue.
Issue:
:roborazzi-compose-ios:iosArm64Main: Could not find com.dropbox.differ:differ-iosarm64:0.0.2.
Required by:
project :roborazzi-compose-ios > com.dropbox.differ:differ:0.0.2
Might you know why?
@eyedol I'm not sure either. So, I asked the maintainer. https://github.com/dropbox/differ/pull/16#issuecomment-2119081492
@eyedol I'm not sure either. So, I asked the maintainer. dropbox/differ#16 (comment)
@takahirom Opened a PR on the differ project. Hopefully it fixes it
@takahirom should be ready for a merge. Will wait for the differ issue to be fixed then we can move RoboCanvas
to common code.
@eyedol Thanks! Sorry for the delay—I was focused on stabilizing Roborazzi. I'll merge this change. Thanks for your contribution! It seems you're aware of what we need to do to migrate iOS to the existing implementation. Could you create some issues to address this?
Thanks for the merge. Sure. I made the ticket: https://github.com/takahirom/roborazzi/issues/383
@eyedol Thanks!
Fixes #302
Changes:
CaptureResult
andCaptureResults
to use classes fromkotlinx.io
as initial implementation to evaluate if it can work.CaptureResult
andCaptureResults
across the projectCaptureResult
andCaptureResults
classes.RoboCanvas
to use classes fromkotlinx.io
.RoboCanvas
use ofkotlinx.io
.To make
RoboConvas
resuable interface across the different supported targets, the issue with differ needs to be fixed so we can moveRoboCanvas
tocommonMain
for reuse.