Unable to handle background notification for clicking event

SumitTungdenjingSumitTungdenjing ✭✭USMember ✭✭
edited May 2017 in Xamarin.Android

I try create app that can receive notification both foreground and background. For foreground, it works fine. However, I cannot find the way to make background notification work.

First, I try to update manifest to support this event.

Secondly, I add some code to my splashactivity to handle background notification.

Next, I use the following PHP code to send notification to Firebase server.

On my device, I can see the above notification.

I tap notification to open my app. However, nothing happened and device log doesn't give me any idea about what going on.


  • cwphillicwphilli ✭✭✭ USMember ✭✭✭

    I do not see where you've implemented the notification listener, which would push the intent extras to your splash activity.
    Take a look at the walkthrough here.

Sign In or Register to comment.