Web Push is broken
Categories
(Firefox for Android Graveyard :: Firefox Accounts, defect)
Tracking
(firefox66 unaffected, firefox67 verified, firefox68 verified)
Tracking | Status | |
---|---|---|
firefox66 | --- | unaffected |
firefox67 | --- | verified |
firefox68 | --- | verified |
People
(Reporter: jovan.gerodetti, Assigned: kmag)
References
(Regression, )
Details
(Keywords: regression)
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0
Steps to reproduce:
- visit https://gauntface.github.io/simple-push-demo/
- enable Push Notifications
- click "Send A Push Via XHR"
Actual results:
Nothing. From the logcat output I gather that a firefox internal service does not work properly.
03-25 10:29:04.409 19385 24530 D GeckoPushGCM: Message received. Processing on background thread.
03-25 10:29:04.413 19385 19434 I GeckoPushService: Google Play Services GCM message received; delivering.
03-25 10:29:04.413 19385 19434 I GeckoPushService: Message directed to service: webpush
03-25 10:29:04.423 19385 19433 I GeckoConsole: While creating services from category 'android-push-service', could not create service for entry 'FxAccountsPush', contract ID '@mozilla.org/fxa-push;1'
03-25 10:29:04.423 19385 19434 I GeckoPushService: Required service not initialized, adding message to queue.
Expected results:
Notification should appear, like it does on desktop and did on android before.
Comment 1•6 years ago
•
|
||
Hello Jovan and thank you for this report!
I was able to reproduce this issue on the latest Nightly
and Beta(67.0b5)
build with Samsung Galaxy Note 9 (Android 8.1.0).
Not reproducible on the latest RC build.
Based on this I will set this issue as new.
After further investigation I was able to find a regression range:
build_date: 2019-02-15 19:17:24.413000 - last known good build.
build_date: 2019-02-15 04:14:20.974000 - first known bad build
It seems that the patches from bug 1524688 introduced this regression.
Kris Maglione can you please check this?
Comment 2•6 years ago
|
||
Moving to Firefox Accounts component, based on this:
- 03-25 10:29:04.423 19385 19433 I GeckoConsole: While creating services from category 'android-push-service', could not create service for entry 'FxAccountsPush', contract ID '@mozilla.org/fxa-push;1'
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Comment on attachment 9054719 [details]
Bug 1538643: Fix unintended removal of FxAccountsPush from Android install manifest.
Beta/Release Uplift Approval Request
- Feature/Bug causing the regression: Bug 1524688
- User impact if declined: This prevents web push from working on Android.
- Is this code covered by automated tests?: Unknown
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: See comment 0
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This simply restores a missing entry to the install manifest for Android. That file is only loaded when it's needed, and the cases which currently attempt to load it are already broken.
- String changes made/needed: None
Assignee | ||
Updated•6 years ago
|
Comment 6•6 years ago
|
||
bugherder |
Reporter | ||
Comment 7•6 years ago
|
||
It doesn't work for me yet and I'm still getting these messages:
03-31 13:27:34.064 15887 16606 D GeckoPushGCM: Message received. Processing on background thread.
03-31 13:27:34.362 15887 15912 I GeckoPushService: Google Play Services GCM message received; delivering.
03-31 13:27:34.363 15887 15912 I GeckoPushService: Message directed to service: webpush
03-31 13:27:34.367 15887 15912 I GeckoPushService: Required service not initialized, adding message to queue.
My current Fennec build ID is 20190331090052 which I think should include the commit posted above.
Updated•6 years ago
|
Assignee | ||
Comment 8•6 years ago
|
||
(In reply to Jovan Gerodetti from comment #7)
My current Fennec build ID is 20190331090052 which I think should include the commit posted above.
It does not.
Comment 9•6 years ago
|
||
Verified as fixed in latest Nightly build(01-Apr-2019 14:01)
with Samsung Galaxy Note 9(Android 8.1.).
Note that I've sent more than 15 push notifications and they were received every time.
Updated•6 years ago
|
Updated•6 years ago
|
Comment 10•6 years ago
|
||
Comment on attachment 9054719 [details]
Bug 1538643: Fix unintended removal of FxAccountsPush from Android install manifest.
Low risk patch for a P1 67 regression, verified by QA on Nightly, uplift approved for our next 67 beta, thanks.
Comment 11•6 years ago
|
||
bugherder uplift |
Comment 12•6 years ago
|
||
Hi!
Verified as fixed on Beta 67.0b9, with Samsung Galaxy S8 (Android 9.0), and Huawei MediaPad Mi2 (Android 5.1.1).
Thanks!
Updated•4 years ago
|
Description
•