Flutter SDK updates, filter by creation time, and more
Highlights
Filter by creation time
Need to get all of a user’s messages sent last week? You can now filter both conversations and messages by their creation date.
Using the createdAt
predicate, you can select exactly those messages or conversations that were created within a particular time interval.
Read more on filtering by creation time for messages, and for conversations.
Edit app metadata from your dashboard
You can now edit metadata for your application directly from your dashboard.
With the app metadata editor, you can easily store and edit custom metadata for your app, for example the app’s name, or a custom website URL. Once stored, you can make these app metadata variables available in other places throughout your app, such as in roles, themes, or in your email notification templates.
Edit your app’s metadata directly from your dashboard
You can find the metadata editor under the Settings tab of your TalkJS dashboard, and access your custom app metadata in roles, themes, and notification settings with {{app.custom.<fieldName>}}
.
Multi-line inputs are supported.
Read more on using app custom fields.
Flutter SDK v0.9.1
The Flutter SDK just got better. With the release of version 0.9.1, you can use the Flutter SDK to pass data to themes, and to automatically sync the keyboard color of the chat interface based on your app's theme.
The Flutter SDK now also has support for custom conversation actions, and ensures that various properties and methods are available for a Session
object, including methods for setting, unsetting, and clearing push registrations, and for tracking the number of unread conversations in a session.
Get started with the Flutter SDK.
Overview of other changes
Added
- Added participant access right information (that is, whether a participant has read-only or read-and-write access) in a conversation to that conversation’s
ConversationData
in the JavaScript SDK. - Added the option to define custom message actions that are available only for messages from other conversation participants.
Changed
- Simplified adding emoji reactions to themes. You can now pass the
Reaction
object as a whole to theEmojiReactionButton
subcomponent in themes.
Deprecated
- Deprecated
InboxOptions.selected
. Instead, useInbox.select
from the JavaScript SDK.
Fixed
- Fixed an issue where the REST API batch user update did not handle invalid input data correctly.
- Fixed an issue where having multiple tabs open for a conversation would send multiple browser notifications.
- Fixed a bug where, when using the Flutter SDK, messages would only get marked as 'read' after clicking the message field, rather than when loading the chatbox.
- Fixed a bug where a custom sub-component with the same name as a top-level component would get treated as a top-level component, and hence would not be deletable.
- Fixed an issue where a failed authentication was unable to distinguish between failure due to connection issues, and an expired authentication token.
👋 Thoughts? Questions? Get in touch.
✨ Follow TalkJS on 𝕏 and LinkedIn to stay up to date.
👩🏾💻 We’re hiring! Check out our jobs page.