Firefox/Push Notifications: Difference between revisions

update
(upate)
(update)
Line 25: Line 25:


* Fx44-Android-Nightly: Land Push Notifications in Fx44 Nightly and evaluate user experience.
* Fx44-Android-Nightly: Land Push Notifications in Fx44 Nightly and evaluate user experience.
=== Engineering and dependent technologies ===
Engineering Master Bug List: https://bugzilla.mozilla.org/showdependencytree.cgi?id=1201571&maxdepth=2&hide_resolved=1
Push Notification contains the following technologies:
'''Web Notification API'''
WebAPI landed in Fx22. Can be used without push and service workers, but will be a popular use case.
https://developer.mozilla.org/en-US/docs/Web/API/notification
'''Service Workers'''
Service workers is the ability for your browser to run a script in the background enabling offline applications, background processing, and push notifications.
https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker
Platform: https://wiki.mozilla.org/Service_Workers
Spec: https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html
'''Push API'''
Web DOM API that enables a website to subscribe a client, upon granting permission, to send events to the client.
https://developer.mozilla.org/en-US/docs/Web/API/Push_API
draft spec: https://w3c.github.io/push-api/
spec: http://www.w3.org/TR/push-api/
'''Push Server'''
Mozilla hosted server that brokers the registration and sending of push events from web app servers to clients. Past terms for this include: SimplePush and WebPush which distinguished low level design and protocol support. For web developers, the server architecture may migrate when appropriate, but the WebAPI will remain the same.
Draft Spec: https://webpush-wg.github.io/webpush-protocol/
Current Server info: https://wiki.mozilla.org/Services/SimplePushServer
Current Server docs: http://autopush.readthedocs.org/en/latest/api.html
'''Mobile'''
Mobile is targeting Fx44 to for initial support. Android and iOS will leverage Google Cloud Messaging (GCM) and Apple Push Notification Services (APNS) respectively. Work is done by three teams: Android eng, Android platform, and Services Dev. We will be gathering a list of dependencies on landing this on Android.
Android Bug Tree: https://bugzilla.mozilla.org/showdependencytree.cgi?id=1206207&maxdepth=1&hide_resolved=1
'''Testing'''
Testing & QA owner is tbd.  There's a fairly complex test plan here, considering the permissions dialogs, service workers, and API.
Confirmed users
964

edits