Skip to content

MacOS app for testing push notifications on Simulator.

Notifications You must be signed in to change notification settings

pallavtrivedi03/PNTester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

PNTester

PNTester is a mac app that let you push notifications on simulator. Just add simulator, select a payload from the sample payloads and click on Push. That's all you need to do.

This is how you can add a simulator 👇🏼

 - Open Xcode
 - Go to Window -> Devices & Simulators
 - Select simulators
 - Select the simulator you want to add, and copy its identifier.
 - In the app, click on 'Add Simulator', enter the name and identifier of simulator and click 'Save'.    

Installation

Just clone/download the repo, build it, and the move PNTester.app from Products directory to your Applications or Desktop or wherever from you would like to access it.

Usage

Video showing usage of the app

Want to push notifications from terminal?

Just run this command from terminal (App is internally using the same).

xcrun simctl push "<SIMULATOR IDENTIFIER>" "<PATH TO APNS FILE>"

Want to understand the source code?

The complete explanation can be found here.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Happy Coding 🍻

About

MacOS app for testing push notifications on Simulator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages