test Apple Push Notification with ease
APN Tester on Streamlit Community Cloud
pip install "httpx[http2]" cryptography pyjwt streamlit watchdog
Then run it with streamlit
streamlit run main.py
Before using APN Tester, make sure your mobile client can process push notification correctly:
- Edit the bundle ID and payloads in
local-payload.apns
then drag it to the simulator to see if it works or not - Or, edit
local-push.py
then runpython local-push.py
to send the push usingxcrun simctl push
command
- I need to send push notifications to test APNs (Apple Push Notification Service) for my iOS projects.
- Using push service providers like Pusher can be complicated. Typically, they require:
- Installing and learning how to use their client library on both the iOS app and the server side.
- Setting up a server to send push notifications.
- Avoid installing third-party libraries in my iOS project that would clutter the codebase.
- Avoid setting up a server just to send a few push notifications.
- Use a simple and user-friendly web UI to send push notifications easily - so here you go! 🚀
- this app does not store any information from the users
- all text fields and file uploaded are ephemeral and will be cleared after closing the webapp