cometchat_calls_sdk 5.0.4 copy "cometchat_calls_sdk: ^5.0.4" to clipboard
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, and endSession static methods on CometChatCalls for drop-in v4 API compatibility
  • Added CometChatCallsEventsListener deprecated mixin with all v4 event callbacks
  • Added CallSettingsBuilder.listener deprecated setter
  • Added CallSettings.toSessionSettings() conversion method
  • Added V4EventListenerAdapter that bridges v5 focused listeners to v4 callbacks
  • Added RTCUser.fromParticipant and GenerateToken.fromCallToken factory constructors

iOS Native Compatibility #

  • Added CometChatRTCView ObjC stub for Chat SDK v4 checkCallsFramework() runtime check
  • Added setAuthToken method 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 generateToken now calls loginWithAuthToken internally to bootstrap v5 SDK state
  • Auth token passed by v4 consumers is cached for subsequent operations like getUserAuthToken() and call logs

Barrel File #

  • Exported User class (removed hide User restriction) to fix example app compilation

Example App #

  • Added GIDClientID to iOS Info.plist for Google Sign-In

5.0.0-beta.2 #

  • Initial v5 Flutter Calls SDK with new API surface
  • CometChatCalls.joinSession with session ID or call token
  • SessionSettings / SessionSettingsBuilder replacing CallSettings
  • Focused listener protocols: SessionStatusListeners, ParticipantEventListeners, MediaEventListeners, ButtonClickListeners, LayoutListeners
  • CallSession singleton for session control
  • Call logs API with CallLogRequestBuilder
  • iOS CallKit integration
  • Background call handling
  • Picture-in-Picture support

0.0.1 #

  • Initial release placeholder.
4
likes
120
points
564
downloads

Documentation

API reference

Publisher

verified publishercometchat.com

Weekly Downloads

Integrate voice & video calling into your Flutter app with CometChat's Calls SDK. Create real-time communication for better user engagement.

License

MIT (license)

Dependencies

connectivity_plus, crypto, flutter, http, path, plugin_platform_interface, shared_preferences, sqflite, web

More

Packages that depend on cometchat_calls_sdk

Packages that implement cometchat_calls_sdk