Repository navigation
Releases
Releases · cometchat/push-notifications-sdk-ios
v2.0.0
New
- Added separate products, so an app links only what it uses:
CometChatPushNotificationsSwiftfor token registration, notification presentation and taps,CometChatPushNotificationsChatfor chat notifications, delivery receipts, quick reply and the Notification Service Extension base class, andCometChatPushNotificationsCallsfor 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
defaultRingTimeoutMsto set how long a call rings when its push carries no ring timeout, andnotificationContentModifierto 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
CometChatPushNotificationsproduct 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 thev1branch. - Changed configuration to
PNConfiguration(appId:region:providerId:), orPNConfiguration.builder(appId:region:)from Objective-C.appIdandregionare required. - Changed how calls reach your app: answered calls arrive through
presentCall(_:)onCometChatPushNotificationsCallsDelegate, and every call ending throughcallDidEnd(_: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.
V1.0.0
New
-
Added comprehensive push notification support, including automatic APNs, and VoIP, foreground notifications, quick replies, tap-to-chat navigation, badge management, and Notification Service Extension support.
-
Added native VoIP calling with CallKit integration, supporting incoming calls from VoIP pushes and WebSocket events, configurable call presentation, synchronized call controls, missed-call notifications, and reliable call handling across app states.
Enhancements
- None
Fixes
- None