Hello VPlay, I have a small problem
I use onNotificationReceived signal from One Signal plugin to send the user to the messages Page with popAllExceptFirstAndPush()
But I also use onApplicationResumed signal to check if the user didn’t open my app for a long time. On that case, I do popAllExceptFirst() and force the user to come back to my initial page.
As you can see, both handlers are in conflict, being fired onNotificationReceived first, taking the user to the messages app. But right after this signal, applicationResumed is fired and eventually, if the user did not enter my app for a long time the second signal would take the user out of messages Page.
How can I solve this? Is it possible to cancel applicationResumed signal in this case?