Skip to content

Commit

Permalink
feat: update iOS min SDK versions (#1019)
Browse files Browse the repository at this point in the history
  • Loading branch information
Plac3hold3r committed Oct 16, 2021
1 parent c2edc77 commit a59cf75
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 3 deletions.
10 changes: 9 additions & 1 deletion src/MvxScaffolding.Core/Configuration/TemplateConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ public static class TemplateConfig

public static Dictionary<string, string> MinIosSDKOptions => new Dictionary<string, string>
{
["15.0"] = "iOS 15.0",
["14.7"] = "iOS 14.7",
["14.6"] = "iOS 14.6",
["14.5"] = "iOS 14.5",
["14.4"] = "iOS 14.4",
["14.3"] = "iOS 14.3",
["14.2"] = "iOS 14.2",
["14.1"] = "iOS 14.1",
["14.0"] = "iOS 14.0",
["13.7"] = "iOS 13.7",
["13.6"] = "iOS 13.6",
Expand Down Expand Up @@ -80,7 +88,7 @@ public static class TemplateConfig
["9.0"] = "iOS 9.0",
};

public static string MinIosSDKOptionDefault => "12.0";
public static string MinIosSDKOptionDefault => "13.0";

public static Dictionary<string, string> MinUwpSDKOptions => new Dictionary<string, string>
{
Expand Down
34 changes: 33 additions & 1 deletion src/Templates/MvxForms/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -484,9 +484,41 @@
"iOSMinSDKVersion": {
"type": "parameter",
"datatype": "choice",
"defaultValue": "12.0",
"defaultValue": "13.0",
"description": "Minimum iOS target SDK version.",
"choices": [
{
"choice": "15.0",
"description": "iOS 15.0"
},
{
"choice": "14.7",
"description": "iOS 14.7"
},
{
"choice": "14.6",
"description": "iOS 14.6"
},
{
"choice": "14.5",
"description": "iOS 14.5"
},
{
"choice": "14.4",
"description": "iOS 14.4"
},
{
"choice": "14.3",
"description": "iOS 14.3"
},
{
"choice": "14.2",
"description": "iOS 14.2"
},
{
"choice": "14.1",
"description": "iOS 14.1"
},
{
"choice": "14.0",
"description": "iOS 14.0"
Expand Down
34 changes: 33 additions & 1 deletion src/Templates/MvxNative/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -553,9 +553,41 @@
"iOSMinSDKVersion": {
"type": "parameter",
"datatype": "choice",
"defaultValue": "12.0",
"defaultValue": "13.0",
"description": "Minimum iOS SDK version.",
"choices": [
{
"choice": "15.0",
"description": "iOS 15.0"
},
{
"choice": "14.7",
"description": "iOS 14.7"
},
{
"choice": "14.6",
"description": "iOS 14.6"
},
{
"choice": "14.5",
"description": "iOS 14.5"
},
{
"choice": "14.4",
"description": "iOS 14.4"
},
{
"choice": "14.3",
"description": "iOS 14.3"
},
{
"choice": "14.2",
"description": "iOS 14.2"
},
{
"choice": "14.1",
"description": "iOS 14.1"
},
{
"choice": "14.0",
"description": "iOS 14.0"
Expand Down

0 comments on commit a59cf75

Please sign in to comment.