Features Developers Pricing
Company
Request demo Log in Sign up
Holiday sale: Get 25% Off all plans!
Promocode: CC2025

Reading time 0 mins

Linked-in

New Android SDK v1.6.0

Hi!

We are happy to release a great amount of updates with our new Android SDK v1.6.0!

Chat module

Updated

In ConnectycubeChatDialog:

  • renamed dialog type ConnectycubeDialogType.PUBLIC_GROUP (type 1) to ConnectycubeDialogType.BROADCAST

Removed

In ConnectycubeChatDialog:

  • DiscussionHistory property from join(history) and join(history, callback) – Now join() or join(callback)

Updated

In ConnectycubeChatMessage:

  • added viewsCount field (broadcast and public dialog only)
  • now saveToHistory = true by default (setSaveToHistory(false);)

Deprecated

In ConnectycubeChatService:

  • setConfigurationBuilder() – Now setConnectionFabric().
setConnectionFabric(new TcpChatConnectionFabric(new TcpConfigurationBuilder().setUseTls(false))); //TLS true by default

Core module

Updated

In ConnectycubeUser:

  • added avatar field

Storage module

Removed

In ConnectycubeStorage:

  • tags property from uploadFileTask(File file, boolean publicAccess, String tags) – Now uploadFileTask(File file, boolean publicAccess)

Push module

Removed

  • pushnotifications TYPE GCM, Now FCM type only is supported.
 // In AndroidManifest no need to set android:value="FCM", just:
        <meta-data android:name="com.connectycube.pushnotifications.SENDER_ID" android:value="@string/sender_id" />
        <meta-data android:name="com.connectycube.pushnotifications.ENVIRONMENT" android:value="DEVELOPMENT" />
  • FcmPushInstanceIDService service with onTokenRefresh(), which was deprecated by Firebase.
// FcmPushInstanceIDService from AndroidManifest must be removed!
        <service
            android:name="com.connectycube.pushnotifications.services.fcm.FcmPushInstanceIDService"
...
        </service>

Updated

In FcmPushListenerService:

  • added onNewToken() instead of onTokenRefresh from FcmPushInstanceIDService;
  • all firebase and play-services dependencies to the latest versions

Deprecated

In FcmPushListenerService:

  • sendPushMessage(Map data, String from, String message) – Now use more detailed sendPushMessage(Map data, String message, String messageId, String dialogId, String userId).

Video module

Updated

In RTCSession:

  • added isAudioCall() – to check call Type

Deprecated

  • RTCClientVideoTracksCallbacks – now RTCClientVideoTracksCallback

Other

Fixed

  • parsing ConnectycubeUserSessionDetails
  • handling Unauthorized exception when restore session with deleted user

New SDK is available on our GitHub page.

Get started for FREE

Unlock the benefits of tomorrow by signing up today.

Don't wait, take the first step towards a brighter future with us!