connectycube_sdk 2.14.1 copy "connectycube_sdk: ^2.14.1" to clipboard
connectycube_sdk: ^2.14.1 copied to clipboard

Flutter SDK for messaging, video calling and push notifications. WebRTC and XMPP based.

2.14.1 #

  • New:
    • Calls:
      • added alwaysRelayCalls;
      • added custom iceServers;

2.14.0 #

  • Fixes and improvements:
    • updated dependencies to the latest possible versions (08.09.2024);

2.13.2 #

  • Fixes and improvements:
    • improved data parsing for Conference calls related packages;

2.13.1 #

  • Fixes and improvements:
    • updated dependencies to the latest possible versions (21.05.2024);

2.13.0 #

  • New:
    • Storage:
      • added Azure storage support;

2.12.0 #

  • Fixes and improvements:
    • added the response code and response data to the ResponseException;
    • connected flutter_lints to the project and applied recommended lints;

2.11.4 #

  • Fixes and improvements:
    • improved requests queue after session restoring;
    • improved session data cleaning after user sign-out;

2.11.3 #

  • Fixes and improvements:
    • updated dependencies to the latest possible versions (05.03.2024);

2.11.2 #

  • Fixes and improvements:
    • Calls:
      • fixed the getting of user media in the mobile browsers for the Web app;

2.11.1 #

  • Fixes and improvements:
    • Custom objects:
      • fixed getting the Custom object by ID in case the record is absent;

2.11.0 #

  • New:

  • Fixes and improvements:

    • Core:
      • Users:
        • fixed processing of responses to requests to receive users by identifiers;

2.10.0 #

  • New:

    • Calls:
      • P2P Calls:
        • added new states onConnectingToUser and onConnectionFailedWithUser to the RTCSessionStateCallback callback;
  • Fixes and improvements:

    • Calls:
      • Conference Calls:
        • fixed onSessionClosed callback in case the connection to the server was broken;

2.9.0 #

  • New:
    • Calls:

      • add addMediaTrack(MediaStreamTrack track) and removeMediaTrack(String trackId) methods for adding/removing tracks during the call (allows to convert audio call to video without reconnection);
      • update the flutter_webrtc lib to the latest (0.9.45) version;
    • Chat:

      • add the sendSystemMessage(int recipientId, Map<String, String>? properties) function for sending the System message without establishing the Chat connection (via REST API);

2.8.0 #

  • Fixes and improvements:

  • Deprecated API:

    • Core:
      • Users:
        • function getAllUsers(), use the getUsers(Map<String, dynamic> parameters, {RequestPaginator? paginator, RequestSorter? sorter}) function instead;
        • function getUsersByFilter(RequestFilter filter), use the getUsers(Map<String, dynamic> parameters, {RequestPaginator? paginator, RequestSorter? sorter}) function instead with available fields to filter;

2.7.1 #

  • Fixes and improvements:
    • Calls:
      • update the flutter_webrtc lib to the latest (0.9.40) version;

2.7.0 #

  • New:

  • Deprecated API:

    • Auth:
      • the function createSessionUsingFirebase was deprecated, use the createSessionUsingFirebasePhone instead;
      • the function signInUsingFirebase was deprecated, use the signInUsingFirebasePhone instead;

2.6.0 #

  • New:

    • Chat:
      • add lastMessageState, lastMessageId, isMuted fields to the CubeDialog model;
  • Fixes and improvements:

    • Calls:
      • update the flutter_webrtc lib to the latest (0.9.34) version;

2.5.7 #

  • Fixes and improvements:
    • Chat:
      • fixed parsing of messages created via REST API request;

2.5.6 #

  • Fixes and improvements:
    • Chat:
      • fixed the login method calling if call it a few times without waiting for the result;

2.5.5 #

  • Fixes and improvements:
    • Calls:
      • fixed micLevel reports for P2P Calls;
    • Chat:
      • fixed the Messaging feature for the multidevice logged user;

2.5.4 #

  • Fixes and improvements:
    • update dependencies to latest possible versions;

2.5.3 #

  • Fixes and improvements:
    • Calls:
      • fixed local media stream initialisation;

2.5.2 #

  • Fixes and improvements:
    • Calls:
      • fixed callback onSubscriberAttached of the ConferenceSession;

2.5.1 #

  • Fixes and improvements:
    • Calls:
      • fixed Conference calls when start call with the callType: CallType.AUDIO_CALL;
    • Chat:
      • fixed Message Reactions for the multidevice logged user;

2.5.0 #

  • New:

    • Calls:
      • Conference Calls:
      • added the requestAudioForScreenSharing parameter to the enableScreenSharing method;
      • added getAudioInputs() and getAudioOutputs() methods for requesting the lists of the input/output audio devices;
    • Users:
  • Broken and deprecated API:

    • the callback onRemoteStreamReceived is not available for the ConferenceSession anymore, use the onRemoteStreamTrackReceived callback instead;
    • the callback-listener RTCSessionStateCallback is deprecated in the ConferenceSession for now and the callbacks onSubscribedOnPublisher, onSubscriberAttached and onPublisherLeft should be used;
    • the SDK automatically subscribes on active publishers and you shouldn't do it by yourself in the ConferenceSession;

2.4.2 #

  • Fixes and improvements:
    • [Android] fixed the compatibility with Gradle plugin v7.3.+;

2.4.1 #

  • Fixes and improvements:
    • fixed Android build issues;

2.4.0 #

2.3.0 #

  • Add Linux support;

  • New:

    • Calls:

      • added the maxBandwidth configuration to the RTCMediaConfig for setting the maximum bandwidth during the call initialization;
      • added the method setMaxBandwidth(int? bandwidth) for changing the value of bandwidth during the call;
    • Meetings:

      • added new parameters like:
        • public - allows not attendee users to join the meeting;
        • scheduled - indicates meeting is scheduled or not;
        • notify - send a notification after the meeting is created (available starting from the Hobby plan);
        • notifyBefore - timing before the meeting start to send notification (available starting from the Hobby plan);
      • added method updateMeetingById for updating only needed fields in the meeting model;
      • added method getMeetingsPaged which allow to get meetings using the pagination;

2.2.3 #

  • Fixes and improvements:
    • Chat:

      • improve login flow in some cases;
    • Other:

      • update dependencies to the latest possible versions;

2.2.2 #

  • Fixes and improvements:
    • Calls:
      • update the flutter_webrtc lib to the latest (0.9.5) version;
      • improvements for ScreenSelectDialog widget;
    • Chat:
      • improve restoring the Chat-connection;

2.2.1 #

  • New:

    • Calls:
      • Add the Screen sharing feature support for desktop. See our documentation on how to request the Capture source and set it as the source of the Screen sharing;
  • Fixes and improvements:

    • Calls:
      • update the flutter_webrtc lib to the latest (0.9.1) version;

2.2.0 #

  • New:

    • Calls:
      • Implemented the iOS Screen sharing feature using Screen Broadcasting. See our step-by-step guide on how to integrate the Screen Broadcasting feature into your iOS app;
      • Added the API for rejecting the P2PSession via HTTP request.
  • Broken API:

    • Calls:
      • rewritten the method createCallSession of ConferenceClient for using named parameters.

2.1.2 #

2.1.1 #

  • Fixes and improvements:
    • Other:
      • update the flutter_webrtc lib to the latest (0.8.6) version;

2.1.0 #

  • New:
    • Chats:
      • Auto mark messages as 'Delivered' for all markable messages (use CubeSettings.instance.autoMarkDelivered = false for disabling it);
      • Add methods sendDeliveredStatus(CubeMessage) and sendReadStatus(CubeMessage) to the ChatMessagesManager to mark messages without the CubeDialog model;

2.0.14 #

  • Fixes and improvements:
    • Calls:
      • fixed the join to a conference as a ConferenceRole.LISTENER (#195);

2.0.13 #

  • Fixes and improvements:
    • Other:
      • update flutter_webrtc lib to the latest (0.8.5) version;

2.0.12 #

  • Fixes and improvements:
    • Other:
      • update flutter_webrtc, http, uuid to latest versions;

2.0.11 #

  • Fixes and improvements:
    • Calls:
      • fixes and improvements for working on Safari browser;
      • update flutter_webrtc lib to the latest (0.8.2) version;

2.0.10 #

  • Fixes and improvements:
    • Calls:
      • fixed opponent's sound on the Web platform during the AUDIO call (#187);

2.0.9 #

  • Fixes and improvements:
    • Calls:
      • fixes and improvements for the replacing streams feature;

2.0.8 #

  • New:
    • Chat:

    • Calls:

      • implemented the Screen sharing feature;
      • added method setTorchEnabled(bool) for enabling/disabling the torch on the call;
      • added method replaceMediaStream(MediaStream) for using own MediaStream on the call;

2.0.7 #

  • Fixes and improvements:
    • Users:
      • added method getUsersByFilter(RequestFilter) for requesting users using custom filters (see available filters here);
      • fixed work of the getAllUsersByIds(Set<int>) method;
    • Calls:
      • fixed the Archiving iOS builds;

2.0.6 #

  • Update dependencies to the latest versions;

2.0.5 #

  • New:

    • Added support for the Web platform;
    • Added uploadRawFile(List<int>, String, {bool?, String?, Function(int progress)?}) method for uploading files from the raw bytes data;
    • Implemented the Active/Inactive feature for the Chat connection;
  • Fixes and improvements:

    • Users:
      • deprecated the int field externalId of CubeUser model, use the String field externalUserId instead;
    • Push notifications:
      • improvements for parsing the CubeSubscription model after the subscription creation;

2.0.4 #

  • Fixes and improvements:
    • Calls:
      • improved compatibility with JS SDK (some browsers send wrong Ice Candidates and it broke the Flutter SDK);
    • Other:
      • dependencies were updated to the latest versions;

2.0.3 #

  • New:

    • Added desktop support (macOS and Windows);
  • Fixes and improvements:

    • Push notifications:
      • fixed parsing of the response of event creation;
    • Other:
      • dependencies were updated to the latest versions;

2.0.2 #

  • Fixes and improvements:
    • Storage:
      • added new parameter mimeType to method uploadFile(...) for manual setting the content type for the file which you upload (it will be helpful if SDK can not get the content type from the extension);

2.0.1 #

  • Fixes and improvements;

2.0.0 #

  • New:

  • Fixes and improvements:

    • Calls:

      • fixed work of the onCallAcceptedByUser callback for P2P calls;
      • fixed rejoin to a Conference call;
    • Chat:

      • fixed sending group chat messages (were issues in some cases);
      • fixed the compatibility with JS SDK;
    • Core:

      • disabled XMPP stanzas logging if CubeSettings.instance.isDebugEnabled = false;
    • Other:

      • dependencies were updated to the latest versions;
      • minor adaptations for updated Server API;

1.1.3 #

  • Calls:

    • improvements for the getting localMediaStrem (there were problems on some devices);
  • Chat:

    • fixed login to the chat with the same user but with different passwords;
    • improved sending asynchronous packages (group messages, join group, leave group, get last user activity);
      • disabled join to the group chat by default before sending group message. Now it is not required on the shared server. But if your server requires it, you can enable join via CubeSettings.instance.isJoinEnabled = true;

1.1.2 #

  • Bugfix

1.1.1 #

  • Improvements for background calls;
  • Improved parsing of CubeSubscription model;
  • Fixed conflicts when connecting some dependencies;

1.1.0 #

  • New API:

    • added new function uploadFileWithProgress(File, {bool, Function(int)} which provides possibility for listening progress of file uploading process;
    • added field addressBookName to CubeUser model (this field is received on request getRegisteredUsersFromAddressBook(bool, [String]) in compact mode);
  • Fixed:

    • receiving same call after it rejection (in some cases);
    • chat reconnection feature;
    • serialization/deserialization for CubeSession and CubeUser models;
  • Improvements:

    • improved data exchange for some signaling messages during P2P calls;
    • update flutter_webrtc to version 0.5.7;

1.0.0 #

Stable release.

  • Added automatic session restoring logic (details);
  • Updated all dependencies to actual versions;

0.6.0 #

0.5.1 #

  • Fixed saving token's expiration date after the session creation.

  • Deprecated API:

    • method saveActiveSession(CubeSession session) from CubeSessionManager - now used just setter for activeSession field;
    • method getActiveSession() from CubeSessionManager - now used just getter for activeSession field;

0.5.0 #

  • Update dependencies to latest versions;

  • Removed API:

    • removed paremeter objectFit from RTCVideoRenderer;
    • removed paremeter mirror from RTCVideoRenderer;
  • Added API:

    • added paremeter objectFit to RTCVideoView constructor;
    • added paremeter mirror to RTCVideoView constructor;

0.4.2 #

  • Fixed group chatting after relogin with different users;

0.4.1 #

  • Fixed work of chat managers after relogin with different users;
  • Fixed receiving calls after relogin with different users;

0.4.0 #

  • Added Chat connection state listener;
  • Added Chat reconnection functionality;
  • Fixed relogin to the Chat;
  • Fixed Sign Up users with tags;
  • Fixed parsing Attachments during realtime communication;

0.3.0-beta1 #

0.2.0-beta3 #

  • Improvements for crossplatform calls;

0.2.0-beta2 #

  • Fixed 'Accept call' issue when call from Web;

0.2.0-beta1 #

0.1.0-beta5 #

  • Update documentation link

0.1.0-beta4 #

This is a 1st public release.

The following features are covered:

  • Authentication and Users;
  • Messaging;
  • Address Book;
  • Push Notifications.

0.1.0-beta3 #

  • Add minimal examples.

0.1.0-beta2 #

  • Updates by pub.dev recommendations.

0.1.0-beta1 #

  • Initial release.