LitePush Tester

Dogfood every way to consume LitePush: the sdk.js script, the npm browser client, and the npm server client.

Mode

Before you start

This page must be served from the exact https origin you registered as your project's domain (the server enforces the Origin on /v1/subscribe). On iOS you must Add to Home Screen and open the installed app before subscribing. The sdk.js and Package · client modes do the same thing — subscribe this browser — via different SDK surfaces (the hosted <script> vs. the bundled LitePushClient).

1 · Configure

2 · Environment

3 · Actions

4 · Send yourself a test push

Once subscribed, trigger a broadcast from your server/terminal (the API key is secret — never put it in a browser). Replace lpk_live_… with your project's key (or switch to Package · server mode above to do it from here):


      

Log