core icon indicating copy to clipboard operation
core copied to clipboard

Android Minimum SDK Target is Unclear for 9.0

Open IrisClasson opened this issue 10 months ago • 4 comments

URL(s)

https://github.com/dotnet/core/blob/main/release-notes/9.0/supported-os.md

Description

My team is excited about the new release, but the docs are unclear regarding supported targets.

The documentation states:

"Android: API 21 is used as the minimum SDK target."

However, this seems inconsistent with the Supported OS table, which lists the following Android versions: 15, 14, 13, 12.1, 12 (corresponding to API levels 31–34).

IrisClasson avatar Jan 20 '25 10:01 IrisClasson

@richlander

carlossanlop avatar Jan 21 '25 16:01 carlossanlop

This is indeed a confusing topic, however, it isn't entirely inconsistent.

  • Old API targets (and header files) are used to provide maximum compatibility (not just for Android).
  • Our OS support policy is oriented on supported OSes by the OS vendor. We cannot support something that the vendor does not even if the code is known t work.

The situation with Android is very similar to how we approach Linux. See https://github.com/dotnet/runtime/issues/109939.

Can you share the doc you are referencing? We can update it to make the sistuation clearer.

richlander avatar Feb 03 '25 15:02 richlander

@davidortinau

richlander avatar Feb 03 '25 15:02 richlander

Yes, this is a weird table. https://learn.microsoft.com/en-us/dotnet/maui/supported-platforms?view=net-maui-9.0 spells it out, but I would suggest we change this to how Flutter has it in their docs: https://docs.flutter.dev/reference/supported-platforms

proposal: https://github.com/dotnet/core/pull/9749

jamesmontemagno avatar Feb 18 '25 18:02 jamesmontemagno