This question has been asked before. But I don't think the answer is helpful. Here is the link that is relevant to my question:
https://social.msdn.microsoft.com/Forums/en-US/fd9832ae-dc19-4b8e-b93c-7d0ffebddb46/redirect-to-specific-page-when-firebase-notification-tapped?forum=xamarinforms
The answer requires the push notification payload to include certain information so that a second Activity can open. But in my case, payload will always be the same whether the app is in foreground, background or not started yet. My interest is in the Not Started case, since in the other two cases, I already get the right page to display.
A related question is: how can I test which part of the code is reached when the user clicks a push notification while the app is not even started yet. If in Visual Studio, I click Run button, the app will already start and does not satisfy the test condition, i.e. the user clicks push notification when the app is not started.


