Skip to content

Conversation

@Joannis
Copy link

@Joannis Joannis commented Oct 25, 2025

Hey all! I hope you're open to an effort like this. I would love to see TCA support Android, so we can share a huge chunk of our codebase between the two major platforms. This is still WIP, for some reason the Swift compiler doesn't respect #if os(..) that well.

Main changes:

  • Use OpenCombine on Linux/Android
  • Disable SwiftUI specific code using #if os(macOS) || os(iOS) ...
  • I tried doing #if canImport(SwiftUI) but that was also not respected, hence the os path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant