@CubeRomanMagellan CubeRomanMagellan released this Dec 25, 2018 · 1 commit to master since this release

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
Assets 2