You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added separate products, so an app links only what it uses: CometChatPushNotificationsSwift for token registration, notification presentation and taps, CometChatPushNotificationsChat for chat notifications, delivery receipts, quick reply and the Notification Service Extension base class, and CometChatPushNotificationsCalls for ringing. A calls-only app no longer needs the Chat SDK, and a chat-only app no longer pulls in the Calls SDK.
Added ringing through the Calls SDK 5.1. Every VoIP push is reported to CallKit, the call is prepared while it rings so answering joins almost immediately, and Answer and Decline go to the Calls SDK. Calls ring with the app killed and the phone locked.
Added call waiting: a call that arrives during another one offers Decline (busy) or End & Accept.
Added automatic token registration. The SDK registers the APNs and VoIP tokens for the logged-in user and registers them again when they change.
Added ring readiness checks and diagnostics for the conditions that stop calls from ringing.
Added defaultRingTimeoutMs to set how long a call rings when its push carries no ring timeout, and notificationContentModifier to change a chat notification before it is shown.
Added a privacy manifest to every framework.
Enhancements
None
Fixes
None
Removals
Removed the 1.x in-app incoming call view (CometChatIncomingCallView, foregroundCallPresentation). Calls always ring through CallKit.
Removed notifyCallsSDKReady(). The SDK starts the Calls SDK itself.
Breaking Changes
Replaced the single CometChatPushNotifications product with the three products above. Add the products your app uses. The Chat and Calls products bring the Chat SDK (4.1.10 or later) and the Calls SDK (5.1.0 or later). Version 1.x stays on the v1 branch.
Changed configuration to PNConfiguration(appId:region:providerId:), or PNConfiguration.builder(appId:region:) from Objective-C. appId and region are required.
Changed how calls reach your app: answered calls arrive through presentCall(_:) on CometChatPushNotificationsCallsDelegate, and every call ending through callDidEnd(_:reason:).
Changed token handling: the SDK registers and unregisters push tokens itself. Call unregisterTokens(completion:) and wait for it before logging out. See Migrating from legacy ringing.