I have a NotificationService Extension in my iOS app which I use to modify the text and download attachments.
This works fine as long as the screen is unlocked. The moment the screen is locked, the service extension is not invoked and the notification is shown in its default state with no message.
I have an iPhone 7s running 11.2.5. Has anyone else come across this and have a solution for the same?