Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android support #161

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Android support #161

wants to merge 3 commits into from

Conversation

marcprux
Copy link

@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
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!

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