This problem is related to Appboy/Braze SDK. Atleast I hope so.
In case the app is terminated and a sample standard/simple push is sent I get the notification. However, rich notification doesn't appear at all.
This rich notification is implemented as push stories where there are more than one page and you can scroll through the notification.
When app is in foreground or background everything works fine.
Any ideas what could be the problem?
The problem was with the APNS payload. The value of alert inside aps directory was empty string.
Also the log in the Console showed these two logs.
According to the documentation: