Open super0610 opened 1 week ago
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Hi @super0610, thank you for reaching out. I tried reproducing the issue with an Android Device version 14, however, I did not encounter an issue and the onMessageReceived
is triggered accordingly.
Can you clarify what you mean by:
I gave Notifications permission manually
It's possible that the message is not delivered, so the onMessageReceived
is not delivered. The are several factors that could affect the delivery of message on the device. You can check this blog post for more details.
In addition to that, just to note, onMessageReceived
is not called when you send 'notification only' and the app is in background. You can check this documentation for more information about handling messages.
We're you able to reproduce the issue on another Android 14 device?
[READ] Step 1: Are you in the right place?
Issues filed here should be about bugs in the code in this repository. If you have a general question, need help debugging, or fall into some other category use one of these other channels:
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
What happened? How can we make the problem occur? MyFirebaseMessagingService class is declared in Manifest, app receive Token from onNewToken() function. However, onMessageReceived is never called.
Relevant Code: