OneSignalSDK.DotNet 5.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package OneSignalSDK.DotNet --version 5.2.0                
NuGet\Install-Package OneSignalSDK.DotNet -Version 5.2.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OneSignalSDK.DotNet" Version="5.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OneSignalSDK.DotNet --version 5.2.0                
#r "nuget: OneSignalSDK.DotNet, 5.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install OneSignalSDK.DotNet as a Cake Addin
#addin nuget:?package=OneSignalSDK.DotNet&version=5.2.0

// Install OneSignalSDK.DotNet as a Cake Tool
#tool nuget:?package=OneSignalSDK.DotNet&version=5.2.0                

<p align="center"> <img src="https://media.onesignal.com/cms/Website%20Layout/logo-red.svg"/> </p>

OneSignal .NET SDK

NuGet


⚠️ 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:

iOS Phased Rollout

Google Play Staged Rollouts

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.