Web Push Notifications

Web Push Notifications

9b509a6ebaf600e9198dcc3a9a075aa8?s=128

Manuel Wieser

March 27, 2017
Tweet

Transcript

  1. 4.
  2. 5.
  3. 6.

    Web Push Protocol • RFC 8030 – Generic Event Delivery

    Using HTTP Push
 https://tools.ietf.org/html/rfc8030 • You can use the same code for Chrome and Firefox since mid 2016. • You no longer need a Firebase project, a gcm_sender_id, or an Authorization header. You no longer need a manifest.json. • Microsoft is co-authoring the RFC, so they will follow the standard.
  4. 10.
  5. 11.
  6. 12.
  7. 13.
  8. 14.
  9. 19.

    Chrome • Service Workers ✅ • Push API ✅ •

    Notifications API ✅ • Web Push Protocol ✅ • Windows ✅ • macOS ✅ • Linux ✅ • Android ✅
  10. 20.

    Firefox • Service Workers ✅ • Push API ✅ •

    Notifications API ✅ • Web Push Protocol ✅ • Windows ✅ • macOS ✅ • Linux ✅ • Android ✅
  11. 21.

    Edge • Service Workers • Push API • Notifications API

    ✅ • Web Push Protocol ✅ • Windows • Windows Mobile
  12. 22.
  13. 23.
  14. 24.

    Safari • Service Workers ❌ • Push API ❌ •

    Notifications API ✅ • Web Push Protocol ❌ • macOS ✅ via Apple’s non-standard implementation • iOS ❌