Skip to content
This repository was archived by the owner on Jun 12, 2025. It is now read-only.

Conversation

@JuliaJakubcova
Copy link
Contributor

📝 Description

  • Add workaround for using Moko in tests and previews

💡 What’s new?

  • Workaround, one class in kotlin in iOS Main and two methods in UIToolkit in Swift

😶 What’s missing?

  • Haven't tested with previews, only with tests

📚 References

pchmelar
pchmelar previously approved these changes Sep 26, 2024
Copy link
Member

@pchmelar pchmelar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Copy link
Contributor

@tomas-bat tomas-bat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to test iOS previews and I was getting some error related to our UIToolkit Bundle+Extensions.swift file..

It was probably some workaround which now causes crashes, but when I tried to use .module instead of this workaround, the previews started working 😅 So maybe the workaround is outdated or something..

This isn't really related to this PR, though.. So let me know if you want to look into it and fix it here, or if I should create a task for it..

@tomas-bat
Copy link
Contributor

Don't know why Github decided to close this 😅

@tomas-bat tomas-bat reopened this Oct 24, 2024
@Seidak Seidak merged commit 26a2147 into develop May 30, 2025
1 check passed
@Seidak Seidak deleted the fix/moko-resources-workaround branch May 30, 2025 11:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants