I am using Plugin.FirebasePushNotification to recieve push notifications in my xamarin cross platform application.
In android which i started to test first....
If if recieve a notification and app in foreground --> on tapping the notification the app's previous state of the app is retained and onresume is fired
But if the app is in background and I click on the notification .... the onstart method is executed and app restarts to the login screen and the precious state of the app is lost.
The app fired onresume if in background and if we click on icon.
Why onresume is not fired and onstart is fired when my app is in background and I click on the notification to open.
I am new to xamarn so is this something very silly I am missing?