Skip to content
This repository was archived by the owner on Apr 30, 2024. It is now read-only.

Releases: nabla/nabla-android

1.0.0-alpha12

14 Sep 13:13
Compare
Choose a tag to compare
1.0.0-alpha12 Pre-release
Pre-release

Added

  • New scheduling feature module.
  • New title field on Provider.

Changed

  • Data class WatchPaginatedResponse moved from messaging to core package.
  • Deleting ConversationItems and replacing usage with a List<ConversationItem>.

1.0.0-alpha11

12 Sep 13:39
Compare
Choose a tag to compare
1.0.0-alpha11 Pre-release
Pre-release

Fixed

  • Pagination for conversations and messages now has a more reasonable value (i.e. 50) and errors in page loading are properly handled.

1.0.0-alpha10

19 Aug 14:14
Compare
Choose a tag to compare
1.0.0-alpha10 Pre-release
Pre-release

Added

  • video-call module is now available to add Video calls to your messaging experience

Changed

  • A new modules parameter is now required when calling NablaClient.initialize():
NablaClient.initialize(
    modules = listOf(
        NablaMessagingModule(),
    ),
)

1.0.0-alpha09

04 Aug 10:05
Compare
Choose a tag to compare
1.0.0-alpha09 Pre-release
Pre-release

Changed

  • Clicking new conversation in InboxFragment does not immediately create a conversation anymore. It now opens a draft conversation that won't be created until a first message is sent.
  • ConversationId is now a sealed class that can be either Local or Remote

Added

  • Added draft conversations: You can now create a draft conversation and reference it by the returned id as you used to reference a normal conversation. The draft conversation will exist only locally until a first message is sent — it will then be created for real.
  • Server-made i18n will now follow user's device language.

1.0.0-alpha08

19 Jul 13:56
Compare
Choose a tag to compare
1.0.0-alpha08 Pre-release
Pre-release

Added

  • Added AuthenticationException.AuthorizationDenied exception that can be return if the patient is not
    authorized to access the data. This should not happen in the current implementation.

Changed

  • Conversations in watchConversations() are now correctly sorted by their lastModified date.
  • NablaClient is exposed through static call NablaClient.getInstance(name).

1.0.0-alpha07

04 Jul 11:31
Compare
Choose a tag to compare
1.0.0-alpha07 Pre-release
Pre-release

Added

  • Added a new setShowComposer method to ConversationFragment.Builder that you can call to hide the message composer for the patient.
  • InboxFragment a standalone fragment for displaying the list of conversations with a button to create a new conversation.
  • ConversationActivity a lightweight wrapper around ConversationFragment, convenient for default navigation behavior.

Changed

  • Remove the description field from Conversation and replace it by a subtitle that is displayed by the ConversationFragment
  • Replaced providerIdToAssign by a list a providerIds in NablaMessagingClient.createConversation.

1.0.0-alpha06

21 Jun 09:49
Compare
Choose a tag to compare
1.0.0-alpha06 Pre-release
Pre-release

Fixed

  • Fix test fixtures being imported outside of tests, causing Gradle sync to fail on 1.0.0-alpha05 release.

1.0.0-alpha05

21 Jun 09:10
Compare
Choose a tag to compare
1.0.0-alpha05 Pre-release
Pre-release

Added

  • Now messaging-core supports messages replying to other messages.
  • Now messaging-core supports video messages.
  • Now on ConversationFragment you can reply to messages.
  • Now on ConversationFragment you can receive, play and send video messages, either from library or by recording a new one.
  • You can now pass your own instance of Logger via the Configuration when initializing the SDK.
  • Added optional title and providerIdToAssign arguments to NablaMessagingClient.createConversation.
  • NablaClient.initialize now logs a warning in case of multiple calls.

Changed

  • Media in conversations: Extend support to image/* and audio/* mime types.
  • Configuration has been split into NetworkConfiguration and Configuration. This should not have an impact on an existing app as all the
    properties that have been moved are supposed to be for tests only.
  • Increase timeout duration to 2 minutes for network operations (especially for uploads).

Fixed

  • Fix an issue where NablaMessagingClient.watchConversation wouldn't be called correctly in some cases when the conversation is updated.
  • Fix duplicate activity item when a provider joins a conversation.
  • Fix voice message recording on Android API < 26.
  • Fix IndexOutOfBound when adding multiple media from gallery (as message attachment) with different mime types.
  • Fix error handling where the SDK would return a NablaError.Unknown instead of NablaError.Server in some cases.

1.0.0-alpha04

31 May 15:25
Compare
Choose a tag to compare
1.0.0-alpha04 Pre-release
Pre-release

Added

  • ConversationActivity in conversations. A message is displayed when a provider joins a conversation.
  • ConversationFragment now displays system messages, with the right name and avatar.
  • Added support for sending, receiving and playing voice messages.

Changed

  • MessageSender is renamed to MessageAuthor.
  • Documents name are now displayed only on 1 line when using ConversationFragment.
  • NablaMessagingClient.watchConversationMessages replaced by NablaMessagingClient.watchConversationItems.
  • NablaMessagingClient.sendMessage now takes a MessageInput and the ConversationId rather than the message directly.
  • FileLocal.Image now takes an optional file name and the MimeType of the image as parameter, along with the Uri.
  • MessageSender.System now exposes a User.System parameter which contains the name of the organization and the avatar url.
  • Removed SendStatus.ToBeSent as it was never provided as a value by the SDK.

Fixed

  • Uploading an image captured from camera using ConversationFragment would fail, this is now fixed.
  • In ConversationListView: Keep scroll at the top of conversations list when a new item is added.
  • In ConversationFragment: Now we check the mime type in media picker intent if any before
    inferring one from the file itself.
  • NablaException.Authentication.NotAuthenticated will now be correctly returned as a Result.failure
    for methods that require authentication and return a Result, rather than thrown.
  • NablaException.Authentication.NotAuthenticated will now be correctly sent as an error in the Flow
    for methods that require authentication and return a Flow, rather than thrown.
  • Fix usage of color selector as background not working on older android api levels.
  • Fix media picker bottom sheet not fully shown when on landscape.
  • Fix file message thumbnail placeholder having a 1px unwanted border.

1.0.0-alpha03

16 May 15:46
Compare
Choose a tag to compare
1.0.0-alpha03 Pre-release
Pre-release

Added

  • A CHANGELOG file
  • Proguard configuration through consumerProguardFiles config.

Changed

  • NablaCore is now called NablaClient, NablaMessaging is now called NablaMessagingClient
  • NablaCore.initialize now doesn't require a SessionTokenProvider, it must now be passed
    to NablaCore.authenticate along with the userId
  • Some messaging-ui strings have been updated
  • NablaMessagingClient.watchConversationMessages now returns a ConversationMessages object which
    only contains the messages themself. Details of the conversation and its participants should now
    be watched using NablaMessagingClient.watchConversation
  • Some resources of messaging-ui and messaging-core have been prefixed correctly with nabla_
  • NablaException.Authentication is now clearer with new NotAuthenticated and UnableToGetFreshSessionToken exceptions

Fixed

  • ConversationFragment was initializing default nabla client even if overridden with custom
    instance.
  • Remove the ability to copy or delete a deleted message when using ConversationFragment