Skip to content

.NET implementation to illustrate how to send push notifications to Apple devices using APNs.

License

Notifications You must be signed in to change notification settings

glihm/dotnet-apns-provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APNs provider in .NET

This repository aims at illustrating how to send push notifications to Apple devices via Apple Push Notification service (APNs).

This implementation is based on Apple recommendations.

The most "tricky" part is the managment of the JWT token and how the HTTP2 request is formatted.

Please note that the current implementation is not exhaustive at all. The alert that is implemented is very basic, and you should refer to Apple's documentation to extend this project to your needs.

As a security note, please consider that this is an example library. The p8 file containing the signing key in this example is imported as a base64 string in the appsettings. You must find a more secure way to provide this signing key to a production environment.

About

.NET implementation to illustrate how to send push notifications to Apple devices using APNs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages