A demo of the Pushy Web SDK integrated into a sample Angular.js web app.
Pushy is the most reliable push notification gateway, perfect for real-time, mission-critical applications.
This app registers your browser to receive push notifications and assigns it a unique token, which you can copy and paste into the demo page to send yourself a test push notification.
Visit our documentation to integrate Pushy into your existing Angular.js app.
- Clone the repository locally:
git clone https://github.com/pushy/pushy-demo-angular.git
- Run
cd pushy-demo-angular
- Run
ng build --prod && npx http-server dist/*/ -o
to run the demo and open it in a web browser - Press
Allow
in the browser when prompted to allow push notifications - Copy the Pushy device token from the browser's console or alert window and paste it into the Pushy Demo page to send yourself a test notification