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.
Suneel Kumar Biyyapu