Repository navigation
feat(samples): align minimum iOS and Android versions across sample apps - #633
Merged
Merged
Conversation
Set the minimum iOS version to 18.0 and the minimum Android version to API 24 in the MAUI, Avalonia and Uno samples, and set them explicitly in the Uno project. Keep Avalonia's Info.plist MinimumOSVersion in step with its csproj, replace the stale armv7 UIRequiredDeviceCapabilities entries with arm64, and document the minimum OS versions and build tooling in the sample docs. Refs CommunityToolkit#628
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Chooses a deliberate minimum iOS and Android version for the mobile sample apps, aligns them across the MAUI, Avalonia and Uno samples, and documents the values and the tooling needed to build them.
Closes #628
Final values
Info.plist)Rationale
net10.0-androidandnet11.0-android, and MAUI Blazor Hybrid already requires it. It also removes the odd difference between MAUI (21) and Avalonia (34).10.0.17763.0is the Windows App SDK floor and is already the value used by the WinUI3 sample, so there is no reason for it to differ.Info.plistand csproj agree (both 18.0).UIRequiredDeviceCapabilities. Avalonia's iOSInfo.plistlistedarmv7(a 32-bit architecture that no iOS 18 device has) and the Uno iOSInfo.plistlisted botharmv7andarm64. Both now usearm64only, which matches the MAUI sample.Documentation
docs/samples/todoapp/{maui,avalonia,unoplatform}.mdeach gain a "Minimum OS versions and tooling" section listing the minimum versions and what is needed to build the mobile heads (Xcode 26.6 and workload set 10.0.112 for iOS, which is what CI pins; JDK 21 and the Android SDK with API 36 for Android).Verification
dotnet restoreanddotnet buildsucceed locally (0 warnings, 0 errors).dotnet testcould not run locally because only the .NET 11 runtime is installed on the author's machine; no library or test code changed.Build Samplesworkflow, in particulartodoapp-maui / ios,todoapp-avalonia / iosandtodoapp-uno / ios-maccatalyst.Follow-ups
unoplatform.mdhere should be removed as part of that work.