Skip to content

Web app template which can handle push notifications on most platforms

License

Notifications You must be signed in to change notification settings

stomt/universal-push-notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published