From 98bcf2c6a99400c3454fd6ed6f213f33d2df6921 Mon Sep 17 00:00:00 2001 From: emawby Date: Mon, 27 Nov 2023 14:08:02 -0800 Subject: [PATCH 01/18] use .net7 in nuspec and remove xamarin --- OneSignalSDK.DotNet.nuspec | 78 ++++++++++++++++---------------------- 1 file changed, 32 insertions(+), 46 deletions(-) diff --git a/OneSignalSDK.DotNet.nuspec b/OneSignalSDK.DotNet.nuspec index 9dd2ecf..3acbc00 100644 --- a/OneSignalSDK.DotNet.nuspec +++ b/OneSignalSDK.DotNet.nuspec @@ -18,11 +18,9 @@ - + - - - + @@ -72,26 +70,26 @@ - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + @@ -111,35 +109,23 @@ - - - - - - - - - - - - - - - + + + + - - - - + + + + - + - - + From bd48da2cf2075c22da61c23081408a077f35d40a Mon Sep 17 00:00:00 2001 From: emawby Date: Mon, 27 Nov 2023 14:09:28 -0800 Subject: [PATCH 02/18] bump sample app to .net 7 --- Samples/OneSignalApp/OneSignalApp.csproj | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Samples/OneSignalApp/OneSignalApp.csproj b/Samples/OneSignalApp/OneSignalApp.csproj index 49efbda..1a49a53 100644 --- a/Samples/OneSignalApp/OneSignalApp.csproj +++ b/Samples/OneSignalApp/OneSignalApp.csproj @@ -2,7 +2,7 @@ - net6.0-android;net6.0-ios + net7.0-android;net7.0-ios Exe OneSignalApp true @@ -21,10 +21,10 @@ 1 21.0 - 14.2 + 15.0 - + false Automatic iPhone Developer @@ -33,7 +33,7 @@ 4 - + false @@ -56,7 +56,7 @@ - + @@ -65,7 +65,7 @@ - + From 663c90ef80b29f0f435e5f2d7f87e9bdbbca92b2 Mon Sep 17 00:00:00 2001 From: emawby Date: Mon, 27 Nov 2023 14:12:02 -0800 Subject: [PATCH 03/18] update dotnet csproj to 7 Update OneSignalSDK.DotNet.csproj --- .../OneSignalSDK.DotNet.csproj | 30 +++++-------------- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/OneSignalSDK.DotNet/OneSignalSDK.DotNet.csproj b/OneSignalSDK.DotNet/OneSignalSDK.DotNet.csproj index 4edc91b..1f6c871 100644 --- a/OneSignalSDK.DotNet/OneSignalSDK.DotNet.csproj +++ b/OneSignalSDK.DotNet/OneSignalSDK.DotNet.csproj @@ -1,30 +1,14 @@ - + - netstandard2.0;net6.0-ios10.0;xamarin.ios10;net6.0-android31;monoandroid12.0 - Library - disable - OneSignalSDK.DotNet - OneSignalSDK.DotNet - 21.0 - 9.0 - - - - full - TRACE;PORTABLE;NETSTANDARD;NETSTANDARD2_0;DEBUG;NET;NET6_0;NETCOREAPP - 4 - false - - - true - full - TRACE;PORTABLE;RELEASE;NETSTANDARD2_0 - false + net7.0 + enable + enable - - + + + From 7a81e535b871da3184a0620ab7e968db57490224 Mon Sep 17 00:00:00 2001 From: emawby Date: Mon, 27 Nov 2023 14:17:28 -0800 Subject: [PATCH 04/18] Update iOS project and binding project to .net 7 also removes xamarin --- .../OneSignalSDK.DotNet.iOS.Binding.csproj | 6 +++--- .../OneSignalSDK.DotNet.iOS.csproj | 14 ++++---------- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/OneSignalSDK.DotNet.iOS.Binding/OneSignalSDK.DotNet.iOS.Binding.csproj b/OneSignalSDK.DotNet.iOS.Binding/OneSignalSDK.DotNet.iOS.Binding.csproj index 634c455..8b8e6a5 100644 --- a/OneSignalSDK.DotNet.iOS.Binding/OneSignalSDK.DotNet.iOS.Binding.csproj +++ b/OneSignalSDK.DotNet.iOS.Binding/OneSignalSDK.DotNet.iOS.Binding.csproj @@ -1,13 +1,13 @@ - + Debug AnyCPU - net6.0-ios10.0;xamarin.ios10 + net7.0-ios true true Resources - 9.0 + 11.0 OneSignalSDK.DotNet.iOS.Binding Resources OneSignalSDK.DotNet.iOS.Binding diff --git a/OneSignalSDK.DotNet.iOS/OneSignalSDK.DotNet.iOS.csproj b/OneSignalSDK.DotNet.iOS/OneSignalSDK.DotNet.iOS.csproj index 8c58150..3789f37 100644 --- a/OneSignalSDK.DotNet.iOS/OneSignalSDK.DotNet.iOS.csproj +++ b/OneSignalSDK.DotNet.iOS/OneSignalSDK.DotNet.iOS.csproj @@ -1,13 +1,13 @@ - + Debug AnyCPU {5FF66A21-BA7B-48FD-8A7D-6A1092066306} - net6.0-ios10.0;xamarin.ios10 + net7.0-ios true Resources - 9.0 + 11.0 OneSignalSDK.DotNet.iOS OneSignalSDK.DotNet.iOS Resources @@ -37,15 +37,9 @@ SdkOnly false - + - - - - - - From eae98801a0109818ccdf6a7ea85c5e987dd378ca Mon Sep 17 00:00:00 2001 From: emawby Date: Mon, 27 Nov 2023 14:42:30 -0800 Subject: [PATCH 05/18] Android use dotnet 7 SDK --- .../OneSignalSDK.DotNet.Android.Core.Binding.csproj | 4 ++-- .../OneSignalSDK.DotNet.Android.InAppMessages.Binding.csproj | 4 ++-- .../OneSignalSDK.DotNet.Android.Location.Binding.csproj | 4 ++-- .../OneSignalSDK.DotNet.Android.Notifications.Binding.csproj | 4 ++-- .../OneSignalSDK.DotNet.Android.csproj | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/OneSignalSDK.DotNet.Android.Core.Binding/OneSignalSDK.DotNet.Android.Core.Binding.csproj b/OneSignalSDK.DotNet.Android.Core.Binding/OneSignalSDK.DotNet.Android.Core.Binding.csproj index 3da6468..3956828 100644 --- a/OneSignalSDK.DotNet.Android.Core.Binding/OneSignalSDK.DotNet.Android.Core.Binding.csproj +++ b/OneSignalSDK.DotNet.Android.Core.Binding/OneSignalSDK.DotNet.Android.Core.Binding.csproj @@ -1,9 +1,9 @@ - + Debug AnyCPU - net6.0-android31;monoandroid12.0 + net7.0-android true 21 enable diff --git a/OneSignalSDK.DotNet.Android.InAppMessages.Binding/OneSignalSDK.DotNet.Android.InAppMessages.Binding.csproj b/OneSignalSDK.DotNet.Android.InAppMessages.Binding/OneSignalSDK.DotNet.Android.InAppMessages.Binding.csproj index 1f91f1e..8f961b9 100644 --- a/OneSignalSDK.DotNet.Android.InAppMessages.Binding/OneSignalSDK.DotNet.Android.InAppMessages.Binding.csproj +++ b/OneSignalSDK.DotNet.Android.InAppMessages.Binding/OneSignalSDK.DotNet.Android.InAppMessages.Binding.csproj @@ -1,9 +1,9 @@ - + Debug AnyCPU - net6.0-android31;monoandroid12.0 + net7.0-android true 21 enable diff --git a/OneSignalSDK.DotNet.Android.Location.Binding/OneSignalSDK.DotNet.Android.Location.Binding.csproj b/OneSignalSDK.DotNet.Android.Location.Binding/OneSignalSDK.DotNet.Android.Location.Binding.csproj index 44fd3cb..f8c10ea 100644 --- a/OneSignalSDK.DotNet.Android.Location.Binding/OneSignalSDK.DotNet.Android.Location.Binding.csproj +++ b/OneSignalSDK.DotNet.Android.Location.Binding/OneSignalSDK.DotNet.Android.Location.Binding.csproj @@ -1,9 +1,9 @@ - + Debug AnyCPU - net6.0-android31;monoandroid12.0 + net7.0-android true 21 enable diff --git a/OneSignalSDK.DotNet.Android.Notifications.Binding/OneSignalSDK.DotNet.Android.Notifications.Binding.csproj b/OneSignalSDK.DotNet.Android.Notifications.Binding/OneSignalSDK.DotNet.Android.Notifications.Binding.csproj index 9ab6793..eea8ad5 100644 --- a/OneSignalSDK.DotNet.Android.Notifications.Binding/OneSignalSDK.DotNet.Android.Notifications.Binding.csproj +++ b/OneSignalSDK.DotNet.Android.Notifications.Binding/OneSignalSDK.DotNet.Android.Notifications.Binding.csproj @@ -1,9 +1,9 @@ - + Debug AnyCPU - net6.0-android31;monoandroid12.0 + net7.0-android true 21 enable diff --git a/OneSignalSDK.DotNet.Android/OneSignalSDK.DotNet.Android.csproj b/OneSignalSDK.DotNet.Android/OneSignalSDK.DotNet.Android.csproj index 3f053cf..b246e89 100644 --- a/OneSignalSDK.DotNet.Android/OneSignalSDK.DotNet.Android.csproj +++ b/OneSignalSDK.DotNet.Android/OneSignalSDK.DotNet.Android.csproj @@ -1,10 +1,10 @@ - + Debug AnyCPU {FB0C2961-BAFE-4346-B279-3B3941614DCD} - net6.0-android31;monoandroid12.0 + net7.0-android Library 21 enable From 59a4c2480495e495330638e58c1ba138e7c9d63b Mon Sep 17 00:00:00 2001 From: emawby Date: Wed, 29 Nov 2023 15:23:20 -0800 Subject: [PATCH 06/18] Update example app to .net 7 --- .../OneSignalLiveActivity.Binding.csproj | 2 +- .../OneSignalNotificationServiceExtension.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Samples/OneSignalLiveActivity.Binding/OneSignalLiveActivity.Binding.csproj b/Samples/OneSignalLiveActivity.Binding/OneSignalLiveActivity.Binding.csproj index 6d83756..dd04107 100644 --- a/Samples/OneSignalLiveActivity.Binding/OneSignalLiveActivity.Binding.csproj +++ b/Samples/OneSignalLiveActivity.Binding/OneSignalLiveActivity.Binding.csproj @@ -1,6 +1,6 @@ - net6.0-ios + net7.0-ios enable true true diff --git a/Samples/OneSignalNotificationServiceExtension/OneSignalNotificationServiceExtension.csproj b/Samples/OneSignalNotificationServiceExtension/OneSignalNotificationServiceExtension.csproj index 93d58c0..abdfaa1 100644 --- a/Samples/OneSignalNotificationServiceExtension/OneSignalNotificationServiceExtension.csproj +++ b/Samples/OneSignalNotificationServiceExtension/OneSignalNotificationServiceExtension.csproj @@ -1,6 +1,6 @@ - net6.0-ios + net7.0-ios Library com.onesignal.exampledotnet.OneSignalNotificationServiceExtension 1.0 From e64aeb3f67d6163b14f8b46d285282220887d6d8 Mon Sep 17 00:00:00 2001 From: emawby Date: Wed, 29 Nov 2023 17:31:09 -0800 Subject: [PATCH 07/18] updates to allow vscode builds --- Samples/OneSignalApp/.vscode/launch.json | 14 +++++++++++ Samples/OneSignalApp/OneSignalApp.csproj | 1 + Samples/OneSignalApp/OneSignalApp.sln | 25 +++++++++++++++++++ Samples/OneSignalApp/Platforms/iOS/Info.plist | 2 +- 4 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 Samples/OneSignalApp/.vscode/launch.json create mode 100644 Samples/OneSignalApp/OneSignalApp.sln diff --git a/Samples/OneSignalApp/.vscode/launch.json b/Samples/OneSignalApp/.vscode/launch.json new file mode 100644 index 0000000..c5c01d7 --- /dev/null +++ b/Samples/OneSignalApp/.vscode/launch.json @@ -0,0 +1,14 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": ".NET MAUI", + "type": "maui", + "request": "launch", + "preLaunchTask": "maui: Build" + } + ] +} \ No newline at end of file diff --git a/Samples/OneSignalApp/OneSignalApp.csproj b/Samples/OneSignalApp/OneSignalApp.csproj index 1a49a53..5666545 100644 --- a/Samples/OneSignalApp/OneSignalApp.csproj +++ b/Samples/OneSignalApp/OneSignalApp.csproj @@ -8,6 +8,7 @@ true true enable + true OneSignalApp diff --git a/Samples/OneSignalApp/OneSignalApp.sln b/Samples/OneSignalApp/OneSignalApp.sln new file mode 100644 index 0000000..09e4f12 --- /dev/null +++ b/Samples/OneSignalApp/OneSignalApp.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.5.002.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OneSignalApp", "OneSignalApp.csproj", "{EAD03B2E-693F-4C00-ACD6-F4539E1961AE}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {EAD03B2E-693F-4C00-ACD6-F4539E1961AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EAD03B2E-693F-4C00-ACD6-F4539E1961AE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EAD03B2E-693F-4C00-ACD6-F4539E1961AE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EAD03B2E-693F-4C00-ACD6-F4539E1961AE}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {C355F870-14CE-47A4-A539-06461BCBB961} + EndGlobalSection +EndGlobal diff --git a/Samples/OneSignalApp/Platforms/iOS/Info.plist b/Samples/OneSignalApp/Platforms/iOS/Info.plist index 734133f..67e9191 100644 --- a/Samples/OneSignalApp/Platforms/iOS/Info.plist +++ b/Samples/OneSignalApp/Platforms/iOS/Info.plist @@ -31,7 +31,7 @@ NSSupportsLiveActivities Yes MinimumOSVersion - 14.2 + 15.0 NSLocationAlwaysUsageDescription Location always used for testing NSLocationWhenInUseUsageDescription From 61206ba336a0e26c56ec00458badd61350ad78fb Mon Sep 17 00:00:00 2001 From: emawby Date: Mon, 11 Dec 2023 15:52:10 -0800 Subject: [PATCH 08/18] Make OneSignalSDK.DotNet have a platform-specific target frameworks --- OneSignalSDK.DotNet.iOS/OneSignalSDK.DotNet.iOS.csproj | 2 +- OneSignalSDK.DotNet/OneSignalSDK.DotNet.csproj | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/OneSignalSDK.DotNet.iOS/OneSignalSDK.DotNet.iOS.csproj b/OneSignalSDK.DotNet.iOS/OneSignalSDK.DotNet.iOS.csproj index 3789f37..82a4000 100644 --- a/OneSignalSDK.DotNet.iOS/OneSignalSDK.DotNet.iOS.csproj +++ b/OneSignalSDK.DotNet.iOS/OneSignalSDK.DotNet.iOS.csproj @@ -37,7 +37,7 @@ SdkOnly false - + diff --git a/OneSignalSDK.DotNet/OneSignalSDK.DotNet.csproj b/OneSignalSDK.DotNet/OneSignalSDK.DotNet.csproj index 1f6c871..33394d8 100644 --- a/OneSignalSDK.DotNet/OneSignalSDK.DotNet.csproj +++ b/OneSignalSDK.DotNet/OneSignalSDK.DotNet.csproj @@ -1,14 +1,14 @@ - net7.0 + net7.0-android;net7.0-ios enable enable - - + + From b983878e4c033c783c0e8f0f08c1cc61787955f2 Mon Sep 17 00:00:00 2001 From: emawby Date: Thu, 14 Dec 2023 16:14:07 -0800 Subject: [PATCH 09/18] Fixing failure for mac catalyst --- OneSignalSDK.DotNet/OneSignalSDK.DotNet.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OneSignalSDK.DotNet/OneSignalSDK.DotNet.csproj b/OneSignalSDK.DotNet/OneSignalSDK.DotNet.csproj index 33394d8..72dc752 100644 --- a/OneSignalSDK.DotNet/OneSignalSDK.DotNet.csproj +++ b/OneSignalSDK.DotNet/OneSignalSDK.DotNet.csproj @@ -1,7 +1,7 @@ - net7.0-android;net7.0-ios + net7.0;net7.0-android;net7.0-ios enable enable From de8eb8c72f04aa0a986e48b67399a3bd0eb7d26f Mon Sep 17 00:00:00 2001 From: emawby Date: Tue, 19 Dec 2023 12:21:30 -0800 Subject: [PATCH 10/18] removing self contained to fix android build --- Samples/OneSignalApp/OneSignalApp.csproj | 1 - 1 file changed, 1 deletion(-) diff --git a/Samples/OneSignalApp/OneSignalApp.csproj b/Samples/OneSignalApp/OneSignalApp.csproj index 5666545..1a49a53 100644 --- a/Samples/OneSignalApp/OneSignalApp.csproj +++ b/Samples/OneSignalApp/OneSignalApp.csproj @@ -8,7 +8,6 @@ true true enable - true OneSignalApp From fffef98b1488de8c61c20c62ea625bb8ebcd0753 Mon Sep 17 00:00:00 2001 From: emawby Date: Wed, 29 Nov 2023 18:06:14 -0800 Subject: [PATCH 11/18] 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 @@ + + + + + + + +