[go: up one dir, main page]

Skip to content
/ Pusher Public

The debug applications for Apple Push Notification Service (APNs).

License

Notifications You must be signed in to change notification settings

wcoder/Pusher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pusher

Clients

  • CLI (Preview)
  • macOS (TODO)

Features

  • APNs
    • .p8

Usage

CLI

cd Pusher.ConsoleApp

Send alarm notification to sandbox:

dotnet run -- \
    apns p8 TEAMID:KEYID:/path/to/apns_key.p8 \
    --topic com.example.ios-app \
    --device C123...DEVICE0TOKENFE60...85883F9 \
    --payload /path/to/payload.apns

How to create payload.apns: Generating a remote notification

Release

CLI

cd Pusher.ConsoleApp

Create a self-contained release for delivery and use:

OS Command
macOS Intel dotnet publish -c Release -r osx-x64 --self-contained
macOS M1+ dotnet publish -c Release -r osx-arm64 --self-contained
Linux dotnet publish -c Release -r linux-x64 --self-contained
Windows dotnet publish -c Release -r win-x64 --self-contained

More RIDs: .NET RID Catalog

Similar projects


© 2022 Yauheni Pakala | Apache License

Releases

No releases published

Languages