Skip to content

Conversation

@marcprux
Copy link
Contributor

@marcprux marcprux commented Jan 7, 2025

This PR makes the minimal changes needed for Android support.

It won't build for Android yet until a swift-nio release is cut that includes apple/swift-nio#3033, but if you switch the swift-nio dependency to branch: "main", test cases will pass (e.g., by running skip android test or using the swift-android-action github action).

It builds and passes all the tests on Android as of swift-nio 2.78.0 .

@NeedleInAJayStack NeedleInAJayStack self-assigned this Jan 7, 2025
@NeedleInAJayStack NeedleInAJayStack self-requested a review January 7, 2025 05:51
Copy link
Member

@NeedleInAJayStack NeedleInAJayStack left a comment

Choose a reason for hiding this comment

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

Woah, this is awesome! I didn't know that NIO was adding Android support! These changes look great to me.

Don't worry about the format CI job - it periodically breaks as swiftformat is updated. I've opened an MR that fixes them here so we'll just rebase when that goes through.

Thanks for contributing!

@marcprux
Copy link
Contributor Author

Now that swift-nio 2.78.0 has been released, I've updated this PR to add an Android CI action that builds and tests on an Android emulator using the swift-android-action, which passes in my test run.

@NeedleInAJayStack
Copy link
Member

@marcprux I've merged the formatting fixes so if you rebase on main you should be good to go! Thanks!

@NeedleInAJayStack NeedleInAJayStack merged commit 7fc8b83 into GraphQLSwift:main Jan 19, 2025
7 checks passed
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.

2 participants