Skip to content

Releases: ConnectyCube/connectycube-android-sdk-releases

1.9.0

30 Mar 09:03
Compare
Choose a tag to compare

Video Conference module

New Conference Streaming API

Streaming API allows user to watch the video/audio stream broadcasting by another user.

  • ConferenceStreamClient allows create stream sessions:
function description
createStreamSession session for streaming
createWatchingSession session for watching
  • ConferenceStreamingSession -
function description
startStreaming start new video or audio stream
stopStreaming stop current stream
addEventListener listen session main events
addConferenceCallbacksListener listen conference events
  • ConferenceWatchingSession -
function description
startWatching start new video or audio stream
stopWatching stop current stream
addEventListener listen session main events
addConferenceCallbacksListener listen conference events

1.8.2

27 Feb 15:49
Compare
Choose a tag to compare

Chat module

New

In ConnectycubeChatService:

  • active/inactive states, ConnectycubeChatService.getInstance().enterActiveState() and ConnectycubeChatService.getInstance().enterInactiveState(). Notifies server when mobile client is entering active or inactive state for handling offline push notifications.

Updated

  • initForChat ConnectycubeChatDialog.initForChat(ConnectycubeChatService) no need to use it, now it set automatically
  • deleteMessages ConnectycubeRestChatService.deleteMessages(), now returns result ArrayList with messagesIDs
  • support libs to androidx
  • firebase and playService versions
  • some exceptions were rewritten and clarified (e.g. when user tries to send message without being logged in)

Deprecated

In ConnectycubeChatDialog:

  • sendMessageWithoutJoin, join(), leave() join mechanism is deprecated.
  • ParticipantListener also deprecated as it doesn't work without join mechanism.

1.8.1

11 Oct 11:06
Compare
Choose a tag to compare

Chat module

Updated

  • reduced chat login time by 2 - 3 seconds or even more
  • added isAutoInitChat to handling initChatFromRest() when downloading dialogs from REST - ConnectycubeChatService.ConfigurationBuilder().setAutoInitChat(false); (true by default)

Fixed

In ConnectycubeChatService:

  • fixed current thread blocking in some cases until chat login ends
  • fixed user is null - ConnectycubeChatService.getInstance().getUser() - for up to 2-3 seconds, when ConnectycubeChatService.getInstance().isLoggedIn() is already true
  • fixed SMACK Android logs (weren't showing)

CustomObjects module

Fixed

  • fixed displaying REST logs when ConnectycubeCustomObjects.getObjectPermissions()

1.8.0

16 Apr 13:43
Compare
Choose a tag to compare

Chat module

Updated

XMPP Smack lib upgrade to 4.3.2

In ConnectycubeRosterEntry:

  • removed getStatus(), now use isSubscriptionPending() instead.

Fixed

In ConnectycubeRestChatService:

  • parsing Successfully_deleted ids field when deleteDialogs()

1.7.0

26 Feb 14:34
Compare
Choose a tag to compare

Chat module

New

In ConnectycubeRestChatService:

  • searchByText(String query, SearchRequestBuilder requestbuilder). Retrieve list SearchChatEntity with dialogs, messages and users.
  • SearchRequestBuilder - the builder to set additional search parameters.
Parameter Description
limit how many records to retrieve
dialogIds dialog ids to search in
startDate date to start search
endDate date to end search

1.6.0

25 Dec 14:02
Compare
Choose a tag to compare

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

1.5.0

04 Dec 09:57
Compare
Choose a tag to compare

Auth module

New

In ConnectycubeAuth:

  • getUserSessions(). Retrieve list ConnectycubeUserSessionDetails of all user sessions.
  • deleteUserSessionsExceptCurrent(). Delete all user sessions except the current one.
  • deleteUserSessionById(int sessionId). Delete user session by specific id.
Parameter Description
sessionId The user session ID to delete

1.4.0

12 Nov 16:06
Compare
Choose a tag to compare

Chat module

New

In ConnectycubeChatDialog:

  • getOccupantsCount(). Returns the occupant's count for Public dialog.

In ConnectycubeRestChatService:

  • getPublicDialogOccupants(String dialogId, RequestGetBuilder requestBuilder). Retrieving occupants of public chat dialog.
Parameter Description
dialogId The public dialog ID to get occupants
requestBuilder The requestGetBuilder allows to set parameters for a get/search request

1.3.1

19 Oct 10:26
Compare
Choose a tag to compare

Chat module

Update

In ConnectycubeRosterEntry:

  • added setName(String name)
  • added getName()
Parameter Description
name name of contact

Fix

  • fix confirmSubscription with SubscriptionMode.mutual mode

1.3.0

12 Oct 14:35
Compare
Choose a tag to compare

Auth module

New

In ConnectycubeAuth:

  • upgradeWebSessionTokenToCurrentUser(String webToken)
Parameter Description
webToken Web Token obtained from the web