Closed
Description
Actual behaviour
When a push notification of type "reaction.new" is received, the PushNotificationType is initialized as nil because .reactionNew is not handled.
This behavior causes ChatRemoteNotificationHandler.handleNotification(completion:) to call the completion handler with an UnknownNotificationContent.
Expected behaviour
ChatRemoteNotificationHandler.handleNotification(completion:) should return a valid MessageNotificationContent in the completion when handling a "reaction.new" push notification.
Steps to reproduce
Just add a reaction to a chat message
Which packages are you using?
StreamChat
Which SDK version are you using?
4.80.0
Which iOS version is the issue reproducible?
iOS 18