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

get OS info to support initializing on Xamarin.Android/Maui#318

Open
jasells wants to merge 2 commits into
luigiberrettini:masterfrom
jasells:fix-android-regression-maui
Open

get OS info to support initializing on Xamarin.Android/Maui#318
jasells wants to merge 2 commits into
luigiberrettini:masterfrom
jasells:fix-android-regression-maui

Conversation

@jasells
Copy link
Copy Markdown

@jasells jasells commented Feb 11, 2025

Closes #315

Checks RuntimeInformation.OSDescription to correctly identify Android as Linux and initialize sockets. This used to work in Xamarin.Forms without the fix, but in Maui and latest Xamarin.Android runtimes, the RuntimeInformation.IsOSPlatform(OSPlatform.Linux) does not return true as expected.

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.

Fails to connect TCP socket on Android in Maui 8 (.Net 8) stack

1 participant