OneSignalSDK.DotNet
5.2.1
dotnet add package OneSignalSDK.DotNet --version 5.2.1
NuGet\Install-Package OneSignalSDK.DotNet -Version 5.2.1
<PackageReference Include="OneSignalSDK.DotNet" Version="5.2.1" />
paket add OneSignalSDK.DotNet --version 5.2.1
#r "nuget: OneSignalSDK.DotNet, 5.2.1"
// Install OneSignalSDK.DotNet as a Cake Addin #addin nuget:?package=OneSignalSDK.DotNet&version=5.2.1 // Install OneSignalSDK.DotNet as a Cake Tool #tool nuget:?package=OneSignalSDK.DotNet&version=5.2.1
<p align="center"> <img src="https://media.onesignal.com/cms/Website%20Layout/logo-red.svg"/> </p>
OneSignal .NET SDK
⚠️ Migration Advisory for current OneSignal customers
Our new user-centric APIs and v5.x.x SDKs offer an improved user and data management experience. However, they may not be at 1:1 feature parity with our previous versions yet.
If you are migrating an existing app, we suggest using iOS and Android’s Phased Rollout capabilities to ensure that there are no unexpected issues or edge cases. Here is the documentation for each:
If you run into any challenges or have concerns, please contact our support team at support@onesignal.com
OneSignal is a free email, sms, push notification and in-app message service for mobile apps. This plugin makes it easy to integrate your .NET application with OneSignal.
<p align="center"><img src="https://app.onesignal.com/images/android_and_ios_notification_image.gif" width="400" alt=".NET Notification"></p>
Installation and Setup
.NET6+ projects: See the Setup Documentation for installation and setup instructions. Xamarin projects: See the Setup Documentation for installation and setup instructions.
API
See OneSignal's .NET SDK API page for a list of all available methods.
Change Log
See this repository's release tags for a complete change log of every released version.
Support
Please visit this repository's Github issue tracker for feature requests and bug reports related specificly to the SDK.
For account issues and support please contact OneSignal support from the OneSignal.com dashboard.
Sample Project
To do
Targets:
- .NET 6.0 for Android (
net6.0-android31
) - .NET 6.0 for iOS (
net6.0-ios10.0
) - Xamarin.Android (
monoandroid12.0
) - Xamarin.iOS (
xamarin.ios10
)
Supports:
- iOS 9.0 and higher.
- Android 5.0 (API Level 21) and higher.
- Multi-platform App UI (MAUI) applications.
- .NET 6 iOS/Android native applications.
- Xamarin.Forms applications.
- Xamarin native applications.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-android21.0 is compatible. net7.0-ios was computed. net7.0-ios11.0 is compatible. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
-
net7.0-android21.0
- Xamarin.AndroidX.AppCompat (>= 1.4.2.1)
- Xamarin.AndroidX.Browser (>= 1.4.0.2)
- Xamarin.AndroidX.CardView (>= 1.0.0.16)
- Xamarin.AndroidX.Legacy.Support.V4 (>= 1.0.0.14)
- Xamarin.AndroidX.Work.Runtime (>= 2.7.1.5)
- Xamarin.AndroidX.Work.Work.Runtime.Ktx (>= 2.7.1.5)
- Xamarin.Firebase.Messaging (>= 123.0.8)
- Xamarin.Google.Dagger (>= 2.41.0.2)
- Xamarin.GooglePlayServices.Base (>= 118.1.0)
- Xamarin.Kotlin.StdLib.Jdk8 (>= 1.8.0.1)
- Xamarin.KotlinX.Coroutines.Android (>= 1.6.4.2)
- Xamarin.KotlinX.Coroutines.Core (>= 1.6.4.2)
-
net7.0-ios11.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
5.2.1 | 8,660 | 8/14/2024 | |
5.2.0 | 1,315 | 7/30/2024 | |
5.1.3 | 12,364 | 5/1/2024 | |
5.1.2 | 3,549 | 4/10/2024 | |
5.1.1 | 2,821 | 3/7/2024 | |
5.1.0 | 2,224 | 1/31/2024 | |
5.0.2 | 16,263 | 10/17/2023 | |
5.0.1 | 671 | 10/10/2023 | |
5.0.0 | 1,692 | 8/31/2023 | |
5.0.0-beta03 | 1,164 | 6/29/2023 | |
5.0.0-beta02 | 796 | 2/28/2023 | |
5.0.0-beta01 | 209 | 2/21/2023 | |
4.3.4 | 767 | 4/22/2024 | |
4.3.3 | 12,459 | 2/13/2023 | |
4.3.2 | 667 | 1/19/2023 | |
4.3.1 | 893 | 12/9/2022 | |
4.3.0 | 453 | 12/1/2022 | |
4.2.0 | 510 | 11/2/2022 | |
1.0.1 | 464 | 10/31/2022 |