Can you share your code? I have not noticed any issues in my app.
For push notifications when the app is in the foreground, I create a local notification. See this discussion - Push Notifications click_action called before notification actually clicked - #11 by twestrick.
I register all the listeners on app boot (in Vue, in the main.ts
file) before the app is mounted. I first call removeAllListeners
and then re-register them. When I was setting up push notifications up over a year ago, if I didn’t remove the listeners first, each time I registered them, they would start to duplicate and cause issues.