Skip to content

Commit 140e69f

Browse files
Merge pull request #7 from SyncfusionExamples/update-sample-version
Update latest Net 10 sample
2 parents bb6aaba + 226cbd3 commit 140e69f

19 files changed

Lines changed: 116 additions & 97 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<Solution>
2+
<Project Path="PolarChartSample/PolarChartSample.csproj" />
3+
</Solution>
Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
1-
namespace PolarChartSample
1+
using Microsoft.Extensions.DependencyInjection;
2+
3+
namespace PolarChartSample
24
{
35
public partial class App : Application
46
{
57
public App()
68
{
79
InitializeComponent();
10+
}
811

9-
MainPage = new AppShell();
12+
protected override Window CreateWindow(IActivationState? activationState)
13+
{
14+
return new Window(new AppShell());
1015
}
1116
}
12-
}
17+
}

Polar_chart_sample/PolarChartSample/AppShell.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
55
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
66
xmlns:local="clr-namespace:PolarChartSample"
7-
Shell.FlyoutBehavior="Disabled"
87
Title="PolarChartSample">
98

109
<ShellContent
10+
Title="Home"
1111
ContentTemplate="{DataTemplate local:MainPage}"
1212
Route="MainPage" />
1313

Polar_chart_sample/PolarChartSample/Platforms/Android/MainActivity.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace PolarChartSample
66
{
7-
[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
7+
[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, LaunchMode = LaunchMode.SingleTop, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
88
public class MainActivity : MauiAppCompatActivity
99
{
1010
}

Polar_chart_sample/PolarChartSample/Platforms/MacCatalyst/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
<array>
1616
<integer>2</integer>
1717
</array>
18+
<key>LSApplicationCategoryType</key>
19+
<string>public.app-category.lifestyle</string>
1820
<key>UIRequiredDeviceCapabilities</key>
1921
<array>
2022
<string>arm64</string>

Polar_chart_sample/PolarChartSample/Platforms/Tizen/Main.cs

Lines changed: 0 additions & 17 deletions
This file was deleted.

Polar_chart_sample/PolarChartSample/Platforms/Tizen/tizen-manifest.xml

Lines changed: 0 additions & 15 deletions
This file was deleted.

Polar_chart_sample/PolarChartSample/Platforms/Windows/Package.appxmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<Identity Name="maui-package-name-placeholder" Publisher="CN=User Name" Version="0.0.0.0" />
1010

11-
<mp:PhoneIdentity PhoneProductId="821BBF0B-7696-4A7E-B947-4C4953FDF74B" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
11+
<mp:PhoneIdentity PhoneProductId="21BFE768-E449-469B-A0D9-B8AA868B9B5F" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
1212

1313
<Properties>
1414
<DisplayName>$placeholder$</DisplayName>

Polar_chart_sample/PolarChartSample/Platforms/Windows/app.manifest

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
-->
1111
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/PM</dpiAware>
1212
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor</dpiAwareness>
13+
14+
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
1315
</windowsSettings>
1416
</application>
1517
</assembly>
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
This is the minimum required version of the Apple Privacy Manifest for .NET MAUI apps.
4+
The contents below are needed because of APIs that are used in the .NET framework and .NET MAUI SDK.
5+
6+
You are responsible for adding extra entries as needed for your application.
7+
8+
More information: https://aka.ms/maui-privacy-manifest
9+
-->
10+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
11+
<plist version="1.0">
12+
<dict>
13+
<key>NSPrivacyAccessedAPITypes</key>
14+
<array>
15+
<dict>
16+
<key>NSPrivacyAccessedAPIType</key>
17+
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
18+
<key>NSPrivacyAccessedAPITypeReasons</key>
19+
<array>
20+
<string>C617.1</string>
21+
</array>
22+
</dict>
23+
<dict>
24+
<key>NSPrivacyAccessedAPIType</key>
25+
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
26+
<key>NSPrivacyAccessedAPITypeReasons</key>
27+
<array>
28+
<string>35F9.1</string>
29+
</array>
30+
</dict>
31+
<dict>
32+
<key>NSPrivacyAccessedAPIType</key>
33+
<string>NSPrivacyAccessedAPICategoryDiskSpace</string>
34+
<key>NSPrivacyAccessedAPITypeReasons</key>
35+
<array>
36+
<string>E174.1</string>
37+
</array>
38+
</dict>
39+
<!--
40+
The entry below is only needed when you're using the Preferences API in your app.
41+
<dict>
42+
<key>NSPrivacyAccessedAPIType</key>
43+
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
44+
<key>NSPrivacyAccessedAPITypeReasons</key>
45+
<array>
46+
<string>CA92.1</string>
47+
</array>
48+
</dict> -->
49+
</array>
50+
</dict>
51+
</plist>

0 commit comments

Comments
 (0)