Hello,
When I immediately remove a received push notification on Android (not on iOS), it crashes the app. If I first retrieve all of them with getDeliveredNotifications
, it doesn’t crash. It also seems like they both give a different PushNotificationSchema
.
static async _on_received(schema: PushNotificationSchema)
{
PushNotifications.removeDeliveredNotifications({notifications: [schema]}); // Crash.
}
Is there a reason for this behavior?