This repository was archived by the owner on Apr 30, 2024. It is now read-only.
Releases: nabla/nabla-android
Releases · nabla/nabla-android
1.0.0-alpha12
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 aList<ConversationItem>
.
1.0.0-alpha11
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
Added
video-call
module is now available to add Video calls to your messaging experience
Changed
- A new
modules
parameter is now required when callingNablaClient.initialize()
:
NablaClient.initialize(
modules = listOf(
NablaMessagingModule(),
),
)
1.0.0-alpha09
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 eitherLocal
orRemote
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
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 theirlastModified
date. NablaClient
is exposed through static callNablaClient.getInstance(name)
.
1.0.0-alpha07
Added
- Added a new
setShowComposer
method toConversationFragment.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 aroundConversationFragment
, convenient for default navigation behavior.
Changed
- Remove the
description
field fromConversation
and replace it by asubtitle
that is displayed by theConversationFragment
- Replaced
providerIdToAssign
by a list aproviderIds
inNablaMessagingClient.createConversation
.
1.0.0-alpha06
Fixed
- Fix test fixtures being imported outside of tests, causing Gradle sync to fail on 1.0.0-alpha05 release.
1.0.0-alpha05
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 theConfiguration
when initializing the SDK. - Added optional
title
andproviderIdToAssign
arguments toNablaMessagingClient.createConversation
. NablaClient.initialize
now logs awarning
in case of multiple calls.
Changed
- Media in conversations: Extend support to
image/*
andaudio/*
mime types. Configuration
has been split intoNetworkConfiguration
andConfiguration
. 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 ofNablaError.Server
in some cases.
1.0.0-alpha04
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 toMessageAuthor
.- Documents name are now displayed only on 1 line when using
ConversationFragment
. NablaMessagingClient.watchConversationMessages
replaced byNablaMessagingClient.watchConversationItems
.NablaMessagingClient.sendMessage
now takes aMessageInput
and theConversationId
rather than the message directly.FileLocal.Image
now takes an optional file name and theMimeType
of the image as parameter, along with theUri
.MessageSender.System
now exposes aUser.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 aResult.failure
for methods that require authentication and return aResult
, rather than thrown.NablaException.Authentication.NotAuthenticated
will now be correctly sent as an error in theFlow
for methods that require authentication and return aFlow
, 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
Added
- A CHANGELOG file
- Proguard configuration through
consumerProguardFiles
config.
Changed
NablaCore
is now calledNablaClient
,NablaMessaging
is now calledNablaMessagingClient
NablaCore.initialize
now doesn't require aSessionTokenProvider
, it must now be passed
toNablaCore.authenticate
along with theuserId
- Some
messaging-ui
strings have been updated NablaMessagingClient.watchConversationMessages
now returns aConversationMessages
object which
only contains the messages themself. Details of the conversation and its participants should now
be watched usingNablaMessagingClient.watchConversation
- Some resources of
messaging-ui
andmessaging-core
have been prefixed correctly withnabla_
NablaException.Authentication
is now clearer with newNotAuthenticated
andUnableToGetFreshSessionToken
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