Skip to content

Latest commit

 

History

History
37 lines (19 loc) · 1002 Bytes

README.md

File metadata and controls

37 lines (19 loc) · 1002 Bytes

universal-push-notifications

Web app template which can handle push notifications on most platforms.

Chrome/Firefox/Opera Support using Service Workers

Serve the www folder on localhost and open www/firebase.html.

Safari Support

The safari support requires you to serve www/safari.html on the domain you specified at apple.

Install Phonegap Support

  • install phonegap

Android

  • run phonegap run android --device

  • open chrome to inspect the app running in Android chrome://inspect/#devices more

  • find registration event in the console logs

iOS

  • run phonegap run ios --device (push notifications do not work in the simulator)

  • open Safari to inspect the app running in iOS (Develop -> [device name])

  • find registration event in the console logs

(If you build and run the app using Xcode can see the logs there too.)

https://firebase.google.com/docs/cloud-messaging/ios/certs