โค๏ธ Support my work https://gum.co/rsjU โค๏ธ
PushNotitication
is an app used for testing push notifications on iOS and Android- Support macOS, Windows, Linux
- Support using
certificate
andtoken
for authentication with APNS - Auto save settings
- Download latest release from https://github.com/onmyway133/PushNotifications/releases
- Read more Provider Certificates
- Go to Member Center
- Generate
Apple Push Notification service SSL (Sandbox & Production)
, this is now used for both sandbox and production. Download as.cer
file - Double click on
.cer
file to install intoKeychain
, then export it as.p12
file
- In
PushNotifications
, select.p12
file, fill outpassphase
if needed, fill outbundle id
,device token
,message
, selectenvironment
message
must be in json format, see Creating the Remote Notification Payload
- Read more Authentication Tokens
- Go to Member Center
- Create a
Key
for push notification. Download as.p8
file.
- Note your
key id
- Note your
team id
on Account Membership
- In
PushNotifications
, select.p8
file, fill outkey id
,team id
,bundle id
,device token
,message
, selectenvironment
- Read about Firebase Cloud Messaging
- Add or select project on Firebase Console
- In
PushNotifications
, fill outserver key
,device token
,message
message
must be in json format
In case of issues with running the app on your version of OS, it's possible to easily build it yourself.
Steps:
- Download or clone the repository
- Install
node
on your computer (https://nodejs.org/en/) - Run
npm install
in the root of downloaded/cloned project - Verify that the app can be launched with the command
npm start
(optional) - Build the project to generate installable files (2 options):
- For building with
electron-builder
you need to runnpm run dist
. Generated files end up in the folderdist
in the root of your project. - For building with
electron-packager
you need to runnpm run release
. Generated files end up in the folderPushNotifications-darwin-x64
in the root of your project (macOS only).
To build for Windows & Linux you need to use electron-builder
. Also, this way is preferable because it creates installable files.
electron-builder
will generate:
- For macOS:
.zip
,.dmg
(if you build using macOS) - For Windows:
.msi
(if you build using Windows) - For Linux:
.deb
,.AppImage
(if you build using Linux)
Keep in mind: you cannot build for Windows or Linux, if you are using macOS, or vise versa. It creates installable files only for your current OS.
- Icon http://emojione.com/
- Use node-apn under the hood
Khoa Pham, [email protected]
PushNotifications is available under the MIT license. See the LICENSE file for more info.