Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Firebase notification onopened not triggering onresume

devxusdevxus Member ✭✭

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?

Sign In or Register to comment.