Skip to content

Commit

Permalink
feat(template): iOS 13+ support for min SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
Plac3hold3r committed Oct 7, 2019
1 parent a60f2d0 commit b49bff5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/MvxScaffolding.Core/Configuration/TemplateConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// MvxScaffolding is licensed using the MIT License
//---------------------------------------------------------------------------------

using System.Collections.Generic;
using MvxScaffolding.Localization.Resources;
using System.Collections.Generic;

namespace MvxScaffolding.Core.Configuration
{
Expand Down Expand Up @@ -48,6 +48,8 @@ public static class TemplateConfig

public static Dictionary<string, string> MinIosSDKOptions => new Dictionary<string, string>
{
["13.1"] = "iOS 13.1",
["13.0"] = "iOS 13.0",
["12.4"] = "iOS 12.4",
["12.3"] = "iOS 12.3",
["12.2"] = "iOS 12.2",
Expand Down
8 changes: 8 additions & 0 deletions src/Templates/MvxForms/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,14 @@
"defaultValue": "10.0",
"description": "Minimum iOS target SDK version.",
"choices": [
{
"choice": "13.1",
"description": "iOS 13.1"
},
{
"choice": "13.0",
"description": "iOS 13.0"
},
{
"choice": "12.4",
"description": "iOS 12.4"
Expand Down
8 changes: 8 additions & 0 deletions src/Templates/MvxNative/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,14 @@
"defaultValue": "10.0",
"description": "Minimum iOS SDK version.",
"choices": [
{
"choice": "13.1",
"description": "iOS 13.1"
},
{
"choice": "13.0",
"description": "iOS 13.0"
},
{
"choice": "12.4",
"description": "iOS 12.4"
Expand Down

0 comments on commit b49bff5

Please sign in to comment.