Viewing Push Notification on background android app seems to restart app

  • Thread starter Thread starter Android Central Question
  • Start date Start date
A

Android Central Question

I'm using Xamarin Android and push notifications work with AppCenter and Firebase Cloud Messaging.

Everything works pretty well: when the app is in the background a notification is received, it shows the icon at the top correctly.

However, when I touch the message, instead, bringing up the last activity, it shows the startup activity (ie MainLauncher = true). This is a data entry app with multiple tasks and therefore this behavior will cause problems.

Is there a way to show the last activity of the app instead? I would have thought that this should have been the default behavior.
 
I moved this to the Software Development forum for more specific traffic.