We’re struggling with push notifications at the moment with our Ionic 5 Capacitor app. We need to have the pushNotificationReceived event fire when a push notification is received and the app is in background (this is so that we can maintain our app badge count - the count cannot be passed down in the push payload so the app needs to calculate it and update the app badge count when the push is received).
The event fires ok on Android but on not on iOS (the notification is received ok and the pushNotificationActionPerformed event fires but that’s not enough for us, we need to have something also happen on pushNotificationReceived)
It seems there are many people out there with the same issue
Does anyone have a solution to this or do we need to abandon the Capacitor Push Plugin and use the Cordova Plugin (which I’m pretty sure works)