I created a provider that handles incoming push notifications using:
What I’d like to do is handle navigation to a specific page depending on the user’s response to the incoming push notification. For example, if the incoming push notification shows has “yes” and “no” buttons in the dialog, I’d like automatically navigate to the respective “yes” and “no” pages within the app. I’d also like this to occur whether or not the user is actively using the app at the time the push notification arries.
However, I’m not sure how to handle it. Using the NavController doesn’t seem to work within a provider. Based on this link:
I think that the case I need to handle is the “Navigating from the Root component”… but I’m not sure.
Any help would be appreciated. Thanks.