cometchat_calls_sdk 5.0.4
cometchat_calls_sdk: ^5.0.4 copied to clipboard
Integrate voice & video calling into your Flutter app with CometChat's Calls SDK. Create real-time communication for better user engagement.
5.0.4 #
Breaking: the minimum supported iOS version is now 15.1 (previously 13.0). This follows the native iOS Calls SDK, whose binary requires 15.1.
Enhancements #
- Updated the underlying native SDKs from 5.0.0 to 5.0.2 on both Android and iOS. This brings across the fixes released there, including the in-call audio device menu, faster call start from preloading WebRTC, corrected audio routing (earpiece for voice calls, no forced speaker for video), and fixes for false "connection lost" messages and one-to-one calls not ending when the last participant left.
- Added SDK identification telemetry. When the Calls SDK is used standalone (without the CometChat Chat SDK present), it now reports basic SDK identification — app ID, app version, SDK version and integration source — once per login, so usage can be attributed correctly. No call content or participant data is included.
5.0.0-beta.3 #
v4 Backward Compatibility Layer #
- Added deprecated
generateToken,startSession, andendSessionstatic methods onCometChatCallsfor drop-in v4 API compatibility - Added
CometChatCallsEventsListenerdeprecated mixin with all v4 event callbacks - Added
CallSettingsBuilder.listenerdeprecated setter - Added
CallSettings.toSessionSettings()conversion method - Added
V4EventListenerAdapterthat bridges v5 focused listeners to v4 callbacks - Added
RTCUser.fromParticipantandGenerateToken.fromCallTokenfactory constructors
iOS Native Compatibility #
- Added
CometChatRTCViewObjC stub for Chat SDK v4checkCallsFramework()runtime check - Added
setAuthTokenmethod channel to restore native auth state after SDK re-initialization - Auth token is now bridged to the native iOS SDK via the deprecated
generateToken(authToken:sessionID:)side effect
Auth Token Bootstrapping #
- Deprecated
generateTokennow callsloginWithAuthTokeninternally to bootstrap v5 SDK state - Auth token passed by v4 consumers is cached for subsequent operations like
getUserAuthToken()and call logs
Barrel File #
- Exported
Userclass (removedhide Userrestriction) to fix example app compilation
Example App #
- Added
GIDClientIDto iOSInfo.plistfor Google Sign-In
5.0.0-beta.2 #
- Initial v5 Flutter Calls SDK with new API surface
CometChatCalls.joinSessionwith session ID or call tokenSessionSettings/SessionSettingsBuilderreplacingCallSettings- Focused listener protocols:
SessionStatusListeners,ParticipantEventListeners,MediaEventListeners,ButtonClickListeners,LayoutListeners CallSessionsingleton for session control- Call logs API with
CallLogRequestBuilder - iOS CallKit integration
- Background call handling
- Picture-in-Picture support
0.0.1 #
- Initial release placeholder.