Navigate to specific Activity, when click on background firebase notification

Suneelkumar_BSuneelkumar_B USMember ✭✭
edited September 16 in Xamarin.Android

Hi All,

I have push notification functionality in my application. I am able to receive notifications successfully in both foreground and background.

When app is in foreground, if I tap on received notification, OnNewIntent method in MainActivity is calling and handled navigation properly.

Similarly when app is background, if I tap on received notification, OnCreate method in MainActivity is calling and redirecting to login page but I need to redirect to specific Activity.

Can someone help on this please.

Thanks
Suneel Kumar Biyyapu

Best Answer

Answers

Sign In or Register to comment.