- Fix a race condition that could lead to the following warning being sent by React Native: "Sending needProvideTokens with no listeners registered".
- Fix a serialization issue for errors on iOS that would prevent displaying error details.
- Android: Fix a bug leading to new messages and items not being fetched in real time when using
clearCurrentUser
. - iOS: Reverted Apollo library to version
0.51.2
. Fixes cache issue preventing the loading of older conversation messages.
- Core: Add a new
getCurrentUserId
method toNablaClient
to get the currently set user id if any.
- Messaging core: Added new
lastMessage
property onConversation
that gives access to the whole message and not just its preview. - Add Portuguese translations
- The default
Logger
will now correctly print the error message if any.
- Scheduling: support for registering a payment step. See doc for details/instructions.
- Core:
NablaClient.authenticate
is replaced byNablaClient.setCurrentUserOrThrow
andNablaClient.clearCurrentUser
.provideAuthTokens
is set duringNablaClient.initialize
.
- Android:
1.0.0-alpha25
- iOS:
1.0.0-alpha33
- 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:
watchConversation
success callback is now called with aResponse<Conversation>, NablaError>
. - Messaging Core:
watchItemsOfConversation
success callback is now called with aResponse<PaginatedList<ConversationItem>, NablaError>
. - Messaging Core:
watchConversations
success callback is now called with aResponse<PaginatedList<Conversation>> NablaError>
.
- Core: fixed a crash that occurred on iOS when authenticating a different user or the same user multiple times.
- Messaging Core: Fixed
createConversationWithMessage
not correctly setting providerIds on Android.
- Android:
1.0.0-alpha24
- iOS:
1.0.0-alpha32
- A new
onAppointmentSelected
property is available inNablaAppointmentListView
component and should be provided to redirect to the appointment detail screen (NablaSchedulingUI.navigateToAppointmentDetailScreen(appointmentId)
). (This callback will only be used on iOS and the navigation will work as expected on Android)
NablaSchedulingClient.openScheduleAppointmentScreen()
has been renamed toNablaSchedulingUI.navigateToScheduleAppointmentScreen()
in the NablaScheduling package.
- Android:
1.0.0-alpha22
- iOS:
1.0.0-alpha30
- Android:
1.0.0-alpha21
- iOS:
1.0.0-alpha29
- Messaging Core: Renamed
createDraftConversation
tostartConversation
. It keeps the behavior of creating the conversation lazily when the patient sends the first message. - Messaging Core:
createConversation
has been renamedcreateConversationWithMessage
and now has a requiredmessage
argument. It should be used to start a conversation on behalf of the patient with a first message from them.
- Fixed some cases in MessagingCore where the success callback was called too in addition to the error callback when the method fails.
- Android:
1.0.0-alpha21
- iOS:
1.0.0-alpha28
- The conversation screen is now available as a React Native
Component
:NablaConversationView
.
- Updated the iOS native SDK dependency to
1.0.0-alpha26
. - Updated the Android native SDK dependency to
1.0.0-alpha20
.
The Android SDK now targets API 33, meaning you should bump your
compileSdkVersion
in the Android project to be 33 or higher (this doesn't impact your app's minimum Android supported version).
- Android:
1.0.0-alpha20
- iOS:
1.0.0-alpha26
-
Reporting: an ErrorReporter was added to the native SDKs to report anonymous events to nabla servers to help debug some features like video calls.
⚠️ To update to this version you need to add a new pod in theios/Podfile
pod 'Sentry', :modular_headers => true
(You can find more info in the documentation)
-
Theming: the native SDKs updates contain an enhanced handling of the dark/night modes.
-
Removed the
showComposer
parameter fromNablaMessagingUI.navigateToConversation
method and relied onConversation
isLocked
property to hide the composer.
⚠️ If you were using theshowComposer
parameter ofNablaMessagingUI.navigateToConversation
, it is not available anymore, and you should migrate to using lock conversation from the Console. -
The
NablaClient.initialize
method now takes aConfiguration
class instead of multiple parameters.⚠️ This change is breaking and you will need to update allNablaClient
initialize
.
- Android:
1.0.0-alpha19
- iOS:
1.0.0-alpha24
- New Messaging UI feature: You can now scan (with the camera) and send multi-page documents in conversations.
- Added a new
pictureURL
attribute onConversation
type. - Added support for group chats with multiple patients and providers.
- A new
ConversationItemSender
Patient
type was introduced for conversations with multiple patients. ConversationItemSender
Patient
type was rename toMe
.
- A new
- Disambiguate the
Logger
protocol usage iOS Core pod.
- Android:
1.0.0-alpha18
- iOS:
1.0.0-alpha21
- Android:
1.0.0-alpha15
- iOS:
1.0.0-alpha20
- Added optional
dismissCallback
tonavigateToInbox
inNablaMessagingUI
.
- Optional
successCallback
innavigateToConversation
is nowdismissCallback
inNablaMessagingUI
. - ReactNativeSampleApp app has been renamed to
Messaging Sample App
to better reflect what it showcases.
- Fixed an issue that prevent success callback from being called when the result is
void
.
- Android:
1.0.0-alpha15
- iOS:
1.0.0-alpha19
- Added
Logger
interface with a defaultConsoleLogger
implementation to display react native and native logs. - Added optional error and success callbacks in
NablaMessagingUI.navigateToConversation
- Added
NablaMessagingClient.retrySendingMessage
inNablaMessagingCore
- Added
initialMessage
param toNablaMessagingClient.createConversation
inNablaMessagingCore
- Added
NablaMessagingClient.createDraftConversation
toNablaMessagingCore
- [Android] Fixed sample app backward compatibility by enabling desugaring
- [iOS] Fixed some colors when the phone is in Dark appearance
- Android:
1.0.0-alpha13
- iOS:
1.0.0-alpha19
- Created
@nabla/react-native-scheduling
package
- Updated native dependencies to latest versions.
- Fixed
NablaMessagingClient.createConversation
success callback parameter being undefined
- Android:
1.0.0-alpha12
- iOS:
1.0.0-alpha17
- Created
@nabla/react-native-video-call
package NablaMessagingClient.setIsTyping
to notify the server that the patient is typing in the conversation.NablaMessagingClient.markConversationAsSeen
to notify the server that the patient has seen the conversation.NablaMessagingClient.deleteMessage
to delete a message in a conversation.NablaMessagingClient.watchItemsOfConversation
to watch conversation items with a givenconversationId
.NablaMessagingClient.watchConversation
to watch a conversation with a given id.
- Added
NablaMessagingClient.initializeMessagingModule
andNablaVideoCallClient.initializeVideoCallModule
to enable the corresponding modules. Conversation.id
is now aConversationId
type instead of astring
type.
- Fixed
onConversationSelected
callback param inConversationListView
to send aConversationId
instead of astring
. - Fixed
ConversationItem
type definition by addingcreatedAt
property toConversationMessage
.
- Android:
1.0.0-alpha10
- iOS:
1.0.0-alpha16
- React Native modules auto linking is now working on iOS.
- Android:
1.0.0-alpha09
- iOS:
1.0.0-alpha14
- First public version of the SDK
- Android:
1.0.0-alpha09
- iOS:
1.0.0-alpha13