Releases: cometchat/calls-sdk-flutter
Releases · cometchat/calls-sdk-flutter
v5.0.2
New
- None
Enhancements
- None
Fixes
- Fixed an issue where participants in group calls could appear in the wrong order in the sidebar when new users joined during an active session.
- Fixed an issue where newly added media tracks were displayed in incorrect tile positions due to track ordering behavior.
- Fixed an issue where receiver-side video resolution constraints were incorrectly applied on mobile devices, resulting in reduced video quality.
- Fixed an issue where media tracks were not consistently identified during screen sharing or camera switching scenarios.
- Fixed an issue where mute and unmute state changes from remote participants were not reliably reflected in the UI.
- Fixed a race condition that could cause session state events to be dropped or duplicated during rapid app foreground and background transitions.
- Fixed an issue where the wake lock could be released too early during visibility changes, causing the screen to turn off during active calls.
- Fixed an issue where screen recording state updates could become out of sync with the actual recording status.
v5.0.0-beta.4
New
- Added 17 AI agent skills covering session setup, event listeners, call logs, recording, screen sharing, picture-in-picture, VoIP calling, media controls, participant management, in-call chat, and migration support from v4 to v5.
Enhancements
- Updated the sample app dependency to
cometchat_calls_sdk: 5.0.0-beta.4. - Updated native SDK dependencies to
com.cometchat:calls-sdk-android:5.0.0-beta.2on Android andCometChatCallsSDK 5.0.0-beta.3on iOS.
Fixes
- Fixed the
pinParticipantbridge method to supportparticipantIdandtypeparameters in alignment with the native SDK. - Fixed enum and API naming updates across Android and iOS bridges, including
AudioMode,SessionType, andsetSessionType. - Removed deprecated media event listener overrides and outdated SDK configuration references that are no longer supported in the native SDK.
v5.0.0-beta.3
New
- Introduced a v4 backward compatibility layer to help existing integrations migrate to v5 with minimal code changes.
- Added deprecated
generateToken,startSession, andendSessionstatic methods toCometChatCallsfor drop-in compatibility with v4 implementations. - Added the deprecated
CometChatCallsEventsListenermixin with support for legacy v4 event callbacks. - Added
V4EventListenerAdapterto bridge v5 focused listeners with legacy v4 callback flows. - Added
RTCUser.fromParticipantandGenerateToken.fromCallTokenfactory constructors to simplify migration from older SDK models. - Added
CometChatRTCViewObjective-C compatibility support for iOS to help legacy Chat SDK v4 integrations pass runtime framework checks.
Enhancements
- Enhanced
CallSettingsBuilderby adding the deprecatedlistenersetter for improved v4 compatibility. - Enhanced
CallSettingswith atoSessionSettings()conversion method to simplify migration from v4 session-based configurations. - Enhanced iOS native authentication restoration by adding the
setAuthTokenmethod channel, allowing auth state to be restored after SDK re-initialization. - Enhanced auth token handling by caching tokens passed through legacy flows for use in follow-up operations such as
getUserAuthToken()and call log access. - Enhanced package exports by exposing the
Userclass in the barrel file, improving compatibility and fixing example app build issues. - Enhanced the example iOS app by adding
GIDClientIDtoInfo.plistfor Google Sign-In support.
Fixes
- Fixed an issue where legacy v4 integrations could fail to initialize call flows correctly in v5 due to missing backward compatibility methods and listeners.
- Fixed an issue on iOS where native authentication state could be lost after SDK re-initialization.
- Fixed an issue where applications depending on the exported
Userclass could fail to compile.
Deprecations
- Deprecated
generateToken,startSession, andendSessioninCometChatCalls. These are available only to support older v4 integrations and should be replaced with the v5 call flow APIs. - Deprecated
CometChatCallsEventsListenerin favor of v5 event listener patterns. - Deprecated
CallSettingsBuilder.listenerfor legacy compatibility. Use the recommended v5 listener architecture for new implementations. - Deprecated the legacy
generateToken(authToken:sessionID:)compatibility flow on iOS. It is retained only to support auth token bridging for older integrations.
v5.0.0-beta.1
New
- Introduced the standalone CometChat Calls SDK for Android, built on WebRTC.
- Added support for 1:1 and group voice & video calls with built-in UI.
- Added incoming and outgoing call ringing with accept/reject functionality.
- Added Tile and Spotlight call layout modes.
- Added audio mode switching between speaker, earpiece, Bluetooth, and headphones.
- Added call session recording.
- Added call logs to retrieve call history and details.
- Added participant management with mute, pin, and remove capabilities.
- Added screen sharing support for viewing shares from web participants.
- Added Picture-in-Picture mode to continue calls while using other apps.
- Added the raise hand feature during calls.
- Added idle timeout for automatic session termination when alone in a call.
- Added comprehensive event listeners for session, participant, and media events.
Enhancements
- None
Fixes
- None
Deprecations
- None
Removals
- None