Skip to content

4.0.55

Choose a tag to compare

@suryansh-cometchat suryansh-cometchat released this 17 Feb 04:49
· 29 commits to v4 since this release
284bd74

New

  • Added two new methods for marking messages as delivered from a Push Notification Service extension. These methods work with both notification extensions and enhanced notifications:
    • markAsDeliveredFromNotification(payload: [AnyHashable: Any]?)
    • markAsDeliveredFromNotification(messageID: Int, receiverType: CometChat.ReceiverType, senderUid: String)

Enhancements

  • None

Fixes

  • Optimized the CometChat.init function to resolve memory leaks, ensuring better performance and stability.
  • Fixed an issue where the last seen value from the websocket event was incorrect when a user's online/offline status changed.
  • Included the dSYM file in the XCFramework to enable detailed crash reporting and diagnostics. This improvement provides developers with more accurate and actionable insights for debugging.

Deprecations

  • Deprecated the method:
    • markAsDelivered(withNotificationPayload payload: [AnyHashable: Any]?)
    • Use the new markAsDeliveredFromNotification methods instead, which support both notification extensions and enhanced notifications.

Removals

  • None