I am working on ios rich push notifications. And want to replace previously received notification in notification tray with newly received notification if the key (e.g "notification_id") is same in payload. I have tried solution mentioned in "https://medium.com/the-guardian-mobile-innovation-lab/how-to-replace-the-content-of-an-ios-notification-2d8d93766446" and it is working with ios 11 but not with ios 12.