Skip to content

Latest commit

 

History

History
65 lines (41 loc) · 2.26 KB

README.md

File metadata and controls

65 lines (41 loc) · 2.26 KB

APN Tester

st-badge MIT-badge black-badge

test Apple Push Notification with ease

Quick Start

Use it Online

APN Tester on Streamlit Community Cloud

Install Locally

pip install "httpx[http2]" cryptography pyjwt streamlit watchdog

Then run it with streamlit

streamlit run main.py

Prerequisite

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 run python local-push.py to send the push using xcrun simctl push command

Motivation

The Problem

  • 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.

What I Want

  • 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! 🚀

Privacy Statements

  • 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

Need Help?

git-logo github issue

x-logo posts