Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Intent to implement: DOM Push API in Firefox for Android

66 views
Skip to first unread message

Nicholas Alexander

unread,
Mar 2, 2016, 1:06:51 PM3/2/16
to dev-platform, mobile-firefox-dev
Summary: "The Push API gives web applications the ability to receive
messages pushed to them from a server, whether or not the web app is in the
foreground, or even currently loaded, on a user agent. This lets developers
deliver asynchronous notifications and updates to users that opt in,
resulting in better engagement with timely new content."

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1206207

Link to standard: https://w3c.github.io/push-api/

Platform coverage: Firefox for Android. This is already shipping in
Firefox Desktop:
the Firefox Desktop intent to implement message is at [1] and the intent to
ship message is at [2].

Estimated or target release: Firefox for Android 47 is desired. 48 seems
most likely.

Preference behind which this will be implemented: this is both behind a
build flag (due to Android-specific permission changes, etc) and behind
dom.push.enabled.

DevTools bug: this should be covered by the Desktop devtools ticket:
https://bugzilla.mozilla.org/show_bug.cgi?id=1214248.

Best,
Nick

[1] https://lists.mozilla.org/pipermail/dev-platform/2014-July/005828.html
[2]
https://groups.google.com/d/msg/mozilla.dev.platform/vU4NsuKhTOY/wc2PviRUBAAJ

David Rajchenbach-Teller

unread,
Mar 2, 2016, 1:16:33 PM3/2/16
to dev-pl...@lists.mozilla.org
This would be extremely useful for Project Link and, I assume, other
Connected Devices projects.

Cheers,
David
> _______________________________________________
> dev-platform mailing list
> dev-pl...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>

Martin Thomson

unread,
Mar 2, 2016, 1:16:54 PM3/2/16
to Nicholas Alexander, dev-platform, mobile-firefox-dev
This is great.

As I said elsewhere, I don't think that we can pref this on until bug
1252650 lands. It turns out that "gecko not running" is pretty much
the only interesting state for push.

Nicholas Alexander

unread,
Mar 9, 2016, 7:25:06 PM3/9/16
to dev-platform, mobile-firefox-dev
Hi folks,

On Wed, Mar 2, 2016 at 10:06 AM, Nicholas Alexander <nalex...@mozilla.com>
wrote:

> Summary: "The Push API gives web applications the ability to receive
> messages pushed to them from a server, whether or not the web app is in the
> foreground, or even currently loaded, on a user agent. This lets developers
> deliver asynchronous notifications and updates to users that opt in,
> resulting in better engagement with timely new content."
>
> Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1206207
>
> Link to standard: https://w3c.github.io/push-api/
>
> Platform coverage: Firefox for Android. This is already shipping in
> Firefox Desktop:
> the Firefox Desktop intent to implement message is at [1] and the intent
> to ship message is at [2].
>
> Estimated or target release: Firefox for Android 47 is desired. 48 seems
> most likely.
>
> Preference behind which this will be implemented: this is both behind a
> build flag (due to Android-specific permission changes, etc) and behind
> dom.push.enabled.
>
> DevTools bug: this should be covered by the Desktop devtools ticket:
> https://bugzilla.mozilla.org/show_bug.cgi?id=1214248.
>

This should be in tonight's Firefox for Android Nightly [1]. If you have
Google Play Services on your device, and it is in good health (up to date),
etc, you should be able to subscribe for push notifications from DOM Push
consuming sites (like serviceworke.rs).

I'm tracking a number of improvements and follow-ups [2] [3] that will keep
this in Nightly for the 48 cycle, but progress is progress.

Yours,
Nick

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1252666
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1252650
[3] https://bugzilla.mozilla.org/show_bug.cgi?id=1229835
0 new messages