onmyway133 / PushNotifications

🐉 A macOS, Linux, Windows app to test push notifications on iOS and Android
https://onmyway133.com
Other
2.26k stars 175 forks source link
apn electron firebase notification push

ℙ𝕦𝕤𝕙 ℕ𝕠𝕥𝕚𝕗𝕚𝕔𝕒𝕥𝕚𝕠𝕟𝕤

Buy Me A Coffee
</a>

❤️ Support my apps ❤️

❤️❤️😇😍🤘❤️❤️

Description

How to install

How to use

Keep in mind: To connect to APNs you can use either Provider certificate or Authentication Token. They are different ways and Authentication Token is a new one.

Main difference: Provider certificate expires every year and needs to be regenerated (and reuploaded to your server as .p12). Authentication Token is unlimited and you don't have to recreate and reupload it.

iOS Provider Certificate

iOS Authentication Token

Android Server Key

Opening app on macOS Catalina or newer (10.15+)

If you installed the app on macOS Catalina using the .dmg file, you will probably see this window when trying to launch the app:

Just press OK and go to System Settings... -> Security & Privacy -> General tab. There you need to press the button Open Anyway.

If you have macOS Ventura or later:

Manual building

In case of issues with running the app on your version of OS, it's possible to easily build it yourself.

Steps: 1) Download or clone the repository 2) Install node on your computer (https://nodejs.org/en/) 3) Run npm install in the root of downloaded/cloned project 4) Verify that the app can be launched with the command npm start (optional) 5) Build the project to generate installable files:

As a result electron-builder will generate:

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.

Credit

Author

Khoa Pham, onmyway133@gmail.com

License

PushNotifications is available under the MIT license. See the LICENSE file for more info.