Closed Bug 1822442 Opened 2 years ago Closed 2 years ago

Push notifications are crashing fenix

Categories

(Firefox for Android :: General, defect)

Firefox 113
All
Android
defect

Tracking

()

RESOLVED DUPLICATE of bug 1815976

People

(Reporter: ale160382, Unassigned)

Details

User Agent: Mozilla/5.0 (Android 12; Mobile; rv:109.0) Gecko/113.0 Firefox/113.0

Steps to reproduce:

for over a month ,bug started at the end of nighlty 111 cicle push notifications (when tab is closed ,not normal one to be clear ) make fenix nighlty crash here's the log :
3e6c79b2-57d8-4b5c-82df-bfbcab524586
java.lang.IllegalStateException: You need to call PushProcessor.install() on your Push instance from Application.onCreate().

java.lang.IllegalStateException: You need to call PushProcessor.install() on your Push instance from Application.onCreate().
at mozilla.components.lib.push.firebase.AbstractFirebasePushService.onMessageReceived(AbstractFirebasePushService.kt:144)
at com.google.firebase.messaging.FirebaseMessagingService.handleIntent(FirebaseMessagingService.java:786)
at com.google.firebase.messaging.EnhancedIntentService$$ExternalSyntheticLambda1.run(R8$$SyntheticClass:11)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at com.google.android.gms.common.util.concurrent.zza.run(com.google.android.gms:play-services-basement@@18.1.0:6)
at java.lang.Thread.run(Thread.java:920)

Can please someone have mercy of me and solve this bug ??
it's been over a month ,is it normal such a long time for a bug to be solved ?
Pleae note that bug only happen for fenix build from github(without any personal modification )fenix nighlty from playstore does not have this issue
maybe additional permission /modification are needed when compiling fenix from github in order to get push notification ,for the last year I ve just added my personal Google play token under root of the project and I could receive push messages just fine .
I ve searched everywhere online but there 's no documentation of how to enable firebase push ,when compiling fenix from github .
can please someone have mercy of me and help ?

Actual results:

push messages make fenix ceash

Expected results:

Fenix should be able to get push notifications

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1815976
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.