NucleusPush 1.0.3
dotnet add package NucleusPush --version 1.0.3
NuGet\Install-Package NucleusPush -Version 1.0.3
<PackageReference Include="NucleusPush" Version="1.0.3" />
<PackageVersion Include="NucleusPush" Version="1.0.3" />
<PackageReference Include="NucleusPush" />
paket add NucleusPush --version 1.0.3
#r "nuget: NucleusPush, 1.0.3"
#:package NucleusPush@1.0.3
#addin nuget:?package=NucleusPush&version=1.0.3
#tool nuget:?package=NucleusPush&version=1.0.3
NucleusPush
Push notification abstractions, message model, options, DI registration, and a platform-routing
factory for Nucleus backend services. Consumers depend on IPushSender / IPushSenderFactory and
never on the underlying push SDK. Two providers coexist and are routed by device platform — add
NucleusPushFcm (Android) and/or NucleusPushApns (iOS) for working delivery.
Install
dotnet add package NucleusPush
Register
builder.Services.AddNucleusPush(builder.Configuration);
Provider Packages
NucleusPushFcm— Firebase Cloud Messaging provider (Android).NucleusPushApns— Apple Push Notification service provider (iOS).
Send
var sender = factory.Create(DevicePlatform.Android); // Android -> FCM, iOS -> APNs
var result = await sender.SendAsync(new PushMessage(
DeviceToken: token,
Platform: DevicePlatform.Android,
Data: new Dictionary<string, string> { ["type"] = "trip.assigned" }));
See the full guides in the repository root.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Options (>= 9.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on NucleusPush:
| Package | Downloads |
|---|---|
|
NucleusPushApns
Apple Push Notification service (iOS) provider for NucleusPush — delivers push notifications to iOS device tokens over the APNs HTTP/2 API authenticated with a JWT (ES256) token. No external dependencies. Implements IPushSender. |
|
|
NucleusPushFcm
Firebase Cloud Messaging (Android) provider for NucleusPush — delivers push notifications to Android device tokens via the Firebase Admin SDK. Implements IPushSender. |
GitHub repositories
This package is not used by any popular GitHub repositories.