From fffef98b1488de8c61c20c62ea625bb8ebcd0753 Mon Sep 17 00:00:00 2001 From: emawby Date: Wed, 29 Nov 2023 18:06:14 -0800 Subject: [PATCH 1/8] Creating a new dotnet 8 maui dev app --- Samples/OneSignalDevApp/App.xaml | 14 + Samples/OneSignalDevApp/App.xaml.cs | 11 + Samples/OneSignalDevApp/AppShell.xaml | 15 + Samples/OneSignalDevApp/AppShell.xaml.cs | 9 + Samples/OneSignalDevApp/MainPage.xaml | 36 ++ Samples/OneSignalDevApp/MainPage.xaml.cs | 24 + Samples/OneSignalDevApp/MauiProgram.cs | 24 + .../OneSignalDevApp/OneSignalDevApp.csproj | 92 ++++ Samples/OneSignalDevApp/OneSignalDevApp.sln | 25 + .../Platforms/Android/AndroidManifest.xml | 6 + .../Platforms/Android/MainActivity.cs | 10 + .../Platforms/Android/MainApplication.cs | 15 + .../Android/Resources/values/colors.xml | 6 + .../Platforms/MacCatalyst/AppDelegate.cs | 9 + .../Platforms/MacCatalyst/Entitlements.plist | 14 + .../Platforms/MacCatalyst/Info.plist | 38 ++ .../Platforms/MacCatalyst/Program.cs | 15 + .../OneSignalDevApp/Platforms/Tizen/Main.cs | 16 + .../Platforms/Tizen/tizen-manifest.xml | 15 + .../Platforms/Windows/App.xaml | 8 + .../Platforms/Windows/App.xaml.cs | 24 + .../Platforms/Windows/Package.appxmanifest | 46 ++ .../Platforms/Windows/app.manifest | 15 + .../Platforms/iOS/AppDelegate.cs | 9 + .../OneSignalDevApp/Platforms/iOS/Info.plist | 32 ++ .../OneSignalDevApp/Platforms/iOS/Program.cs | 15 + .../Properties/launchSettings.json | 8 + .../Resources/AppIcon/appicon.svg | 4 + .../Resources/AppIcon/appiconfg.svg | 8 + .../Resources/Fonts/OpenSans-Regular.ttf | Bin 0 -> 107184 bytes .../Resources/Fonts/OpenSans-Semibold.ttf | Bin 0 -> 111056 bytes .../Resources/Images/dotnet_bot.png | Bin 0 -> 69811 bytes .../Resources/Raw/AboutAssets.txt | 15 + .../Resources/Splash/splash.svg | 8 + .../Resources/Styles/Colors.xaml | 45 ++ .../Resources/Styles/Styles.xaml | 426 ++++++++++++++++++ 36 files changed, 1057 insertions(+) create mode 100644 Samples/OneSignalDevApp/App.xaml create mode 100644 Samples/OneSignalDevApp/App.xaml.cs create mode 100644 Samples/OneSignalDevApp/AppShell.xaml create mode 100644 Samples/OneSignalDevApp/AppShell.xaml.cs create mode 100644 Samples/OneSignalDevApp/MainPage.xaml create mode 100644 Samples/OneSignalDevApp/MainPage.xaml.cs create mode 100644 Samples/OneSignalDevApp/MauiProgram.cs create mode 100644 Samples/OneSignalDevApp/OneSignalDevApp.csproj create mode 100644 Samples/OneSignalDevApp/OneSignalDevApp.sln create mode 100644 Samples/OneSignalDevApp/Platforms/Android/AndroidManifest.xml create mode 100644 Samples/OneSignalDevApp/Platforms/Android/MainActivity.cs create mode 100644 Samples/OneSignalDevApp/Platforms/Android/MainApplication.cs create mode 100644 Samples/OneSignalDevApp/Platforms/Android/Resources/values/colors.xml create mode 100644 Samples/OneSignalDevApp/Platforms/MacCatalyst/AppDelegate.cs create mode 100644 Samples/OneSignalDevApp/Platforms/MacCatalyst/Entitlements.plist create mode 100644 Samples/OneSignalDevApp/Platforms/MacCatalyst/Info.plist create mode 100644 Samples/OneSignalDevApp/Platforms/MacCatalyst/Program.cs create mode 100644 Samples/OneSignalDevApp/Platforms/Tizen/Main.cs create mode 100644 Samples/OneSignalDevApp/Platforms/Tizen/tizen-manifest.xml create mode 100644 Samples/OneSignalDevApp/Platforms/Windows/App.xaml create mode 100644 Samples/OneSignalDevApp/Platforms/Windows/App.xaml.cs create mode 100644 Samples/OneSignalDevApp/Platforms/Windows/Package.appxmanifest create mode 100644 Samples/OneSignalDevApp/Platforms/Windows/app.manifest create mode 100644 Samples/OneSignalDevApp/Platforms/iOS/AppDelegate.cs create mode 100644 Samples/OneSignalDevApp/Platforms/iOS/Info.plist create mode 100644 Samples/OneSignalDevApp/Platforms/iOS/Program.cs create mode 100644 Samples/OneSignalDevApp/Properties/launchSettings.json create mode 100644 Samples/OneSignalDevApp/Resources/AppIcon/appicon.svg create mode 100644 Samples/OneSignalDevApp/Resources/AppIcon/appiconfg.svg create mode 100644 Samples/OneSignalDevApp/Resources/Fonts/OpenSans-Regular.ttf create mode 100644 Samples/OneSignalDevApp/Resources/Fonts/OpenSans-Semibold.ttf create mode 100644 Samples/OneSignalDevApp/Resources/Images/dotnet_bot.png create mode 100644 Samples/OneSignalDevApp/Resources/Raw/AboutAssets.txt create mode 100644 Samples/OneSignalDevApp/Resources/Splash/splash.svg create mode 100644 Samples/OneSignalDevApp/Resources/Styles/Colors.xaml create mode 100644 Samples/OneSignalDevApp/Resources/Styles/Styles.xaml diff --git a/Samples/OneSignalDevApp/App.xaml b/Samples/OneSignalDevApp/App.xaml new file mode 100644 index 0000000..1ab76b5 --- /dev/null +++ b/Samples/OneSignalDevApp/App.xaml @@ -0,0 +1,14 @@ + + + + + + + + + + + diff --git a/Samples/OneSignalDevApp/App.xaml.cs b/Samples/OneSignalDevApp/App.xaml.cs new file mode 100644 index 0000000..f30caba --- /dev/null +++ b/Samples/OneSignalDevApp/App.xaml.cs @@ -0,0 +1,11 @@ +namespace OneSignalDevApp; + +public partial class App : Application +{ + public App() + { + InitializeComponent(); + + MainPage = new AppShell(); + } +} diff --git a/Samples/OneSignalDevApp/AppShell.xaml b/Samples/OneSignalDevApp/AppShell.xaml new file mode 100644 index 0000000..bff6963 --- /dev/null +++ b/Samples/OneSignalDevApp/AppShell.xaml @@ -0,0 +1,15 @@ + + + + + + diff --git a/Samples/OneSignalDevApp/AppShell.xaml.cs b/Samples/OneSignalDevApp/AppShell.xaml.cs new file mode 100644 index 0000000..1f4a72a --- /dev/null +++ b/Samples/OneSignalDevApp/AppShell.xaml.cs @@ -0,0 +1,9 @@ +namespace OneSignalDevApp; + +public partial class AppShell : Shell +{ + public AppShell() + { + InitializeComponent(); + } +} diff --git a/Samples/OneSignalDevApp/MainPage.xaml b/Samples/OneSignalDevApp/MainPage.xaml new file mode 100644 index 0000000..2631b1b --- /dev/null +++ b/Samples/OneSignalDevApp/MainPage.xaml @@ -0,0 +1,36 @@ + + + + + + + +