- CLI (Preview)
- macOS (TODO)
- APNs
- .p8
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
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
© 2022 Yauheni Pakala | Apache License