Closed Bug 1413952 Opened 7 years ago Closed 3 years ago

consider using FLAG_RECEIVER_FOREGROUND intent flag when notification is clicked

Categories

(Firefox for Android Graveyard :: Web Apps (PWAs), enhancement, P2)

enhancement

Tracking

(fennec+)

RESOLVED INCOMPLETE
Tracking Status
fennec + ---

People

(Reporter: bkelly, Assigned: droeh)

Details

We've been struggling a bit with slow or intermittent notification clicks when firefox is not already running.  It appears chrome has seen a bit of this as well and the android team suggested they try a particular intent flag:

https://bugs.chromium.org/p/chromium/issues/detail?id=764437#c22

We should consider using that flag as well when sending the intent from a push notification click.
tracking-fennec: --- → ?
Assignee: nobody → droeh
tracking-fennec: ? → +
Priority: -- → P2
Note, chromium is only doing this for android >= N:

https://bugs.chromium.org/p/chromium/issues/detail?id=764437#c29

"We understand what this behaviour does in cases where the Job
Scheduler is used to deliver Web Notification events, but aren't
sure of its behaviour on older versions of Android as it influences
the time we're allowed to run for. Limit it to >= Android N in
order to reduce the risk."
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.