'Is it possible to navigate to a certain route when I press on the Widget versus when I press on the app Icon?

I want my app to always access Screen A when pressing on the widget and screen B when pressing on our app icon. I was able to make the app always access Screen A when pressing on the widget but is it possible to always access screen B when pressing on the app? Because right now, when I open the app through widget, close the app then open it again through our app, it opens screen A instead of screen B.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source