Skip to content

Add more Android code name and version #17

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 18 additions & 9 deletions AAPTForNet/Models/SDKInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class SDKInfo {
"Jelly Bean",
"Jelly Bean",
"KitKat",
"Unknown", // API level 20
"KitKat Wear", // API level 20
"Lollipop",
"Lollipop",
"Marshmallow",
Expand All @@ -35,11 +35,16 @@ public class SDKInfo {
"Oreo",
"Oreo",
"Pie",
"Android10",
"Android11", // API level 30
"Android12",
"Android12L",
"Android13"
"Q",
"R", // API level 30
"S",
"Sv2",
"Tiramisu",
"UpsideDownCake",
"VanillaIceCream",
"Android16",
"Android17",
"Android18"
};

private static readonly string[] AndroidVersionCodes = {
Expand All @@ -63,7 +68,7 @@ public class SDKInfo {
"4.2",
"4.3",
"4.4",
"Unknown", // API level 20
"4.4W", // API level 20
"5.0",
"5.1",
"6.0",
Expand All @@ -75,8 +80,12 @@ public class SDKInfo {
"10",
"11", // API level 30
"12",
"12",
"13"
"13",
"14",
"15",
"16",
"17",
"18"
};

public string APILever { get; }
Expand Down