Pusher is a tiny app that leverages Xcode 11.4's feature of sending test notifications to the iOS Simulator.
Requirements:
- Xcode 11.4 beta 1 installed
Installation:
- Clone, Open Project, Run or
- Download the latest precompiled version from here
Running:
- Make sure you have a running iOS simulator
- If you don't, start one and click the
Refresh
button
- If you don't, start one and click the
- Mandatory Add the app
Bundle Id
(this is mandatory for the app to be found) - Basic Mode
- In case your app supports badges, add a badge number
- Add the Notification Title, Subtitle and Body (none are mandatory - can be left blank in case you don't want to show an actual notification, but just want to update the badge and play the sound)
- Expert Mode
- Enter a notification body (basically the JSON which is found in an actual .apns)
{ "aps" : { "alert" : { "title" : "Simulated Notifications!", "subtitle" : "Hey There", "body" : "https://github.com/trusk89" } } }
- Enter a notification body (basically the JSON which is found in an actual .apns)
- Click
SEND
Demo: