This repository has been archived by the owner on Apr 30, 2024. It is now read-only.
Releases: nabla/nabla-android
Releases · nabla/nabla-android
1.1.3
1.1.2
Fixed
- Messaging UI: Fix a bug preventing
ConversationListView
from correctly binding itself to its ViewModel events in case of errors while fetching the data. - Core: Fix a bug leading to new messages and items not being fetched in real time when using
clearCurrentUser
.
1.1.1
Fixed
- Core: Remove wrong caching of the value returned by
NablaClient.currentUserId
. It will now return the correct up-to-date value.
1.1.0
Added
- Messaging core: Added new
lastMessage
property onConversation
that gives access to the whole message and not just its preview. - Add Portuguese translations
Fixed
- Messaging: Make the button and the icon in video consultation item respect the container/content color pair.
1.0.1
Fixed
- Messaging: Fix joining/leaving multi-patients conversations not shown in real-time (but only on refresh).
- Messaging: Fix a rare UI glitch where the spacing between conversations on the
ConversationListView
would be too high.
1.0.0
The SDK is now considered as stable. No public API changes between this release and 1.0.0-alpha26
1.0.0-alpha26
Changed
AuthTokens
now takesAccessToken
andRefreshToken
as parameters to avoid any confusion. The order has been changed too, so you should now callval authTokens = AuthTokens(AccessToken("your access token"), RefreshToken("your refreshToken"))
Fixed
- Fix a runtime issue with
ConversationListView
not binding properly to its view model if you calledbindViewModel
before attaching the view.
1.0.0-alpha25
Changed
- Scheduling: Replace your current usage of
nablaClient.schedulingModule
tonablaClient.schedulingClient
. - VideoCall: Replace your current usage of
nablaClient.videoCallModule
tonablaClient.videoCallClient
. - Core:
NablaClient.authenticate
is replaced byNablaClient.setCurrentUserOrThrow
andNablaClient.clearCurrentUser
.SessionTokenProvider
is set duringNablaClient.initialize
.
Added
- Scheduling: support for registering a payment step. See doc for details/instructions.
Fixed
- Fix appointments list not updated in real-time for some edge-case status changes.
1.0.0-alpha24
Added
- Scheduling: Added a new
nablaScheduling_appointmentListHeaderStyle
for theAppointmentsFragment
toolbar's style.
Changed
- Scheduling: The
AppointmentsFragment
now comes with aToolbar
by default, you can choose to hide it by callingsetShowNavigation(false)
on the Fragment's builder.
1.0.0-alpha23
Added
- Core: Added a new
watchEventsConnectionState
method onNablaClient
which allows you to monitor the current state of the network connection used to receive live events. - Messaging Core: Added a new
Response
object returned by watchers. It contains metadata about the freshness of the data returned, allowing the caller to know if the data comes from cache or is fresh and if a background refresh is in progress. - Messaging Core: Watchers should now automatically try to re-fetch fresh data when the device gets back online after being offline.
Changed
- Messaging Core:
WatchPaginatedResponse
as been renamedPaginatedContent
. - Messaging Core:
watchConversation
now returns aFlow<Response<Conversation>>
. - Messaging Core:
watchConversationItems
now returns aFlow<Response<WatchPaginatedResponse<List<ConversationItem>>>>
. - Messaging Core:
watchConversations
now returns aFlow<Response<WatchPaginatedResponse<List<Conversation>>>>
.
Fixed
- Messaging UI: The
ConversationListView
will now correctly display the error state when it cannot fetch the data. It was showing a blank screen before.