File tree Expand file tree Collapse file tree 8 files changed +37
-8
lines changed
Expand file tree Collapse file tree 8 files changed +37
-8
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ namespace CommunityToolkit.Maui;
1010/// </summary>
1111[ SupportedOSPlatform ( "windows10.0.10240.0" ) ]
1212[ SupportedOSPlatform ( "android21.0" ) ]
13- [ SupportedOSPlatform ( "ios " ) ]
14- [ SupportedOSPlatform ( "maccatalyst " ) ]
15- [ SupportedOSPlatform ( "tizen " ) ]
13+ [ SupportedOSPlatform ( "ios15.0 " ) ]
14+ [ SupportedOSPlatform ( "maccatalyst15.0 " ) ]
15+ [ SupportedOSPlatform ( "tizen6.5 " ) ]
1616public static class AppBuilderExtensions
1717{
1818 /// <summary>
Original file line number Diff line number Diff line change 11using System . Diagnostics ;
2+ using System . Runtime . Versioning ;
23using CommunityToolkit . Maui . Core . Services ;
34using Microsoft . Extensions . DependencyInjection ;
45using Microsoft . Maui . LifecycleEvents ;
@@ -9,6 +10,11 @@ namespace CommunityToolkit.Maui.Core;
910/// <summary>
1011/// <see cref="MauiAppBuilder"/> Extensions
1112/// </summary>
13+ [ SupportedOSPlatform ( "iOS15.0" ) ]
14+ [ SupportedOSPlatform ( "MacCatalyst15.0" ) ]
15+ [ SupportedOSPlatform ( "Android21.0" ) ]
16+ [ SupportedOSPlatform ( "Windows10.0.17763" ) ]
17+ [ SupportedOSPlatform ( "Tizen6.5" ) ]
1218public static class AppBuilderExtensions
1319{
1420 /// <summary>
Original file line number Diff line number Diff line change 11using System . Diagnostics . CodeAnalysis ;
2+ using System . Runtime . Versioning ;
23
34namespace CommunityToolkit . Maui . Maps ;
45
56/// <summary>
67/// Maps Extensions for <see cref="MauiAppBuilder"/>
78/// </summary>
8- public static class AppHostBuilderExtensions
9+ [ SupportedOSPlatform ( "iOS15.0" ) ]
10+ [ SupportedOSPlatform ( "MacCatalyst15.0" ) ]
11+ [ SupportedOSPlatform ( "Android21.0" ) ]
12+ [ SupportedOSPlatform ( "Windows10.0.17763" ) ]
13+ [ SupportedOSPlatform ( "Tizen6.5" ) ]
14+ public static class AppBuilderExtensions
915{
1016 /// <summary>
1117 /// Initializes the .NET MAUI Community Toolkit Maps Library
Original file line number Diff line number Diff line change 1- using CommunityToolkit . Maui . Core . Handlers ;
1+ using System . Runtime . Versioning ;
2+ using CommunityToolkit . Maui . Core . Handlers ;
23using CommunityToolkit . Maui . Views ;
34
45namespace CommunityToolkit . Maui ;
56
67/// <summary>
78/// This class contains MediaElement's <see cref="MauiAppBuilder"/> extensions.
89/// </summary>
10+ [ SupportedOSPlatform ( "iOS15.0" ) ]
11+ [ SupportedOSPlatform ( "MacCatalyst15.0" ) ]
12+ [ SupportedOSPlatform ( "Android26.0" ) ]
13+ [ SupportedOSPlatform ( "Windows10.0.17763" ) ]
14+ [ SupportedOSPlatform ( "Tizen6.5" ) ]
915public static class AppBuilderExtensions
1016{
1117 /// <summary>
Original file line number Diff line number Diff line change @@ -8,8 +8,10 @@ EndProject
88Project ("{2150E333-8FDC-42A3-9474-1A3956D46DE8}" ) = "Solution Items" , "Solution Items" , "{478D53B4-48B3-4100-BF4D-60F3FC77DE81}"
99 Project Section (SolutionItems ) = preProject
1010 ..\.editorconfig = ..\.editorconfig
11+ ..\.github \workflows \benchmarks .yml = ..\.github \workflows \benchmarks .yml
1112 ..\Directory .Build .props = ..\Directory .Build .props
1213 ..\Directory .Build .targets = ..\Directory .Build .targets
14+ ..\.github \workflows \benchmarks .yml = ..\.github \workflows \benchmarks .yml
1315 ..\global .json = ..\global .json
1416 EndProject Section
1517EndProject
Original file line number Diff line number Diff line change 1- using CommunityToolkit . Maui . Core ;
1+ using System . Runtime . Versioning ;
2+ using CommunityToolkit . Maui . Core ;
23using CommunityToolkit . Maui . Core . Handlers ;
34using CommunityToolkit . Maui . PlatformConfiguration . AndroidSpecific ;
45using CommunityToolkit . Maui . Views ;
@@ -8,6 +9,11 @@ namespace CommunityToolkit.Maui;
89/// <summary>
910/// Extensions for MauiAppBuilder
1011/// </summary>
12+ [ SupportedOSPlatform ( "iOS15.0" ) ]
13+ [ SupportedOSPlatform ( "MacCatalyst15.0" ) ]
14+ [ SupportedOSPlatform ( "Android21.0" ) ]
15+ [ SupportedOSPlatform ( "Windows10.0.17763" ) ]
16+ [ SupportedOSPlatform ( "Tizen6.5" ) ]
1117public static class AppBuilderExtensions
1218{
1319 /// <summary>
@@ -34,7 +40,10 @@ public static MauiAppBuilder UseMauiCommunityToolkit(this MauiAppBuilder builder
3440 } ) ;
3541
3642 Popup . RemapForControls ( ) ;
43+
44+ #if ANDROID
3745 NavigationBar . RemapForControls ( ) ;
46+ #endif
3847 return builder ;
3948 }
4049}
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ public static void MapNavigationColorProperty(IPageHandler handler, IContentView
9393
9494 var color = GetColor ( page ) . ToPlatform ( ) ;
9595
96- if ( OperatingSystem . IsAndroidVersionAtLeast ( 21 ) )
96+ if ( OperatingSystem . IsAndroidVersionAtLeast ( 23 ) )
9797 {
9898 window . SetNavigationBarColor ( color ) ;
9999 }
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ namespace CommunityToolkit.Maui.PlatformConfiguration.AndroidSpecific;
88/// <summary>
99/// Provides platform-specific configuration properties for the Android navigation bar.
1010/// </summary>
11- [ SupportedOSPlatform ( "Android21 .0" ) ]
11+ [ SupportedOSPlatform ( "Android23 .0" ) ]
1212public static partial class NavigationBar
1313{
1414 /// <summary>
You can’t perform that action at this time.
0 commit comments