I have a method which is called when the app enters foreground and another method when I receive push notification. Now if the app is in background and I receive push notification. I tap on that notification,instead of notification method my foreground method is loaded. How can I overcome this?
Help need devs