Customizable search UI, more push notifications options, and other changes
Highlights
Customizable search UI
You can now customize the conversation list search as part of your theme, to match your own brand’s look and feel. The conversation list search allows users to search for both conversations and messages when using the Inbox pre-built chat UI.
Components that you can customize as part of your theme include:
For more information about customizing your search UI, check out the documentation for these theme components.
More push notification options on the Expo SDK
Are you using the Expo SDK for React Native? Then you now have yet more flexibility when setting up push notifications. In addition to Firebase, you can now also use Apple Push Notification Service (APNs) for push notifications when working with the React Native Expo SDK. You can choose either the expo-notifications or the @react-native-firebase/messaging library for your push notifications.
For more details on setting up push notifications for Expo, see: Mobile Push Notifications: Expo.
Overview of other changes
Added
- Added the option to have multiple secret keys. You can also rotate your secret keys directly from your TalkJS dashboard.
- Added the option to mark a conversation as read or unread via the REST API.
- JavaScript SDK (0.23.0): Added a ConversationRef to fetch and manipulate data about conversations on the Realtime API.
- JavaScript SDK (0.23.0): Added Session.conversation(id: string): ConversationRef to get a reference to a conversation by its conversation ID.
- React Native SDK (0.11.0): Added a
scrollToMessage
prop to theChatbox
component. - Flutter SDK (0.13.0): Added a
scrollToMessage
property to theChatbox
component.
Changed
- Changed the option to get a conversation on the REST API to expose
isUnread
for each participant in a conversation, to identify whether or not the conversation is unread for that participant.
Fixed
- Fixed an issue with pasting lists into the chat from Google Docs on Chrome on Windows.
- Fixed an issue where scrolling to a specific message didn’t work properly when calling
select
. - Fixed an issue where, under certain conditions, it wasn’t possible to run multiple sessions concurrently.
- JavaScript SDK (0.23.1): Fixed
ConversationSnapshot.createdAt
andConversationSnapshot.lastMessageAt
to benumber
instead ofDate
. - React Native SDK (0.11.0): Fixed an issue where the device token wasn’t registered properly if the
Session
component was used immediately after the app had been launched. - Flutter SDK (0.13.0): Fixed an issue where the push notification device token registration didn’t work correctly in release builds.
- Flutter SDK (0.13.0): Fixed an issue where
Session.hasValidCredentials
didn’t work correctly.
New guides and tutorials
👋 Thoughts? Questions? Get in touch.
✨ Follow TalkJS on 𝕏 and LinkedIn to stay up to date.
👩🏾💻 We’re hiring! Check out our jobs page.