Releases: parley-messaging/android-library
Releases · parley-messaging/android-library
3.13.0
- [Chat] The welcome message is now always the first message of the current day.
- [Source] Cleaned up MessagesManager for consistency and converted to Kotlin.
- [Device] Sending device to backend now also sends the library version and OS type (Android).
- [Chat] Fixed a case where the very first frame would show the being offline message even while the user is online.
- [Compose] The keyboard now has the
send
ime action and handles this accordingly. - [Media] Fixed image not being shown initially after the successfully uploading it when using clientApi v1.9.
- [Chat] Fixed an image-only message having the meta shadow not rounded properly.
3.12.0
- [Source] IMPORTANT: Parley now enforces SSL pinning automatically. When using a custom
network_security_config.xml
, it's now needed to usetools:replace="android:networkSecurityConfig"
in theAndroidManifest.xml
. - [Source] IMPORTANT: ParleyNetwork has the
securityConfigResourceFile
parameter removed as this is not needed anymore. - [Source] IMPORTANT: Minimum SDK updated to API 24 (Android 7).
- [Source] IMPORTANT: Target SDK updated to API 35 (Android 15).
- [Source] Updated the way network calls are done under-the-hood.
- [Source] Added support for clientApi 1.8 and 1.9 (latest).
- [Chat] Now marking agent messages as read when they are rendered.
- [Chat] Added
Parley.getUnseenCount(ParleyDataCallback<Integer> callback)
to retrieve the amount of unseen messages when using clientApi 1.9. - [Dependency] TrustKit is now not needed anymore and has been removed.
- [Lightweight Configure] Added
setup()
method to setup Parley, but not configure it yet. - [Lightweight Configure] Added
registerDevice()
method to setup Parley, so that the current device can be registered even whenconfigure()
has not been called earlier. - [Lightweight Configure] It remains still required to call the
configure()
method when the chat needs to be shown. - [Example] The example project has been updated to Kotlin and to better reflect which methods Parley exposes.
- [Example] Added a special flow (lightweight configure).
3.11.6
3.11.5
3.11.4
- [Accessibility] Added configurable background color to time and checkmark in messages and made corner radius configurable.
- [Styling] Added
parley_meta_background_corner_radius
to style the corner radius of the meta background. - [Styling] Renamed
parley_message_time_background_color
toparley_meta_background_color
. And renamedparley_user_image_time_background
andparley_agent_image_time_background
toparley_user_meta_background_color
andparley_agent_meta_background_color
accordingly.
3.11.3
- [Accessibility] Added configurable background color to time in messages.
- [Accessibility] Date labels are now marked as headings for accessibility.
- [Accessibility] Add media is now marked as button for accessibility.
- [Styling] Addition: Added
parley_message_time_background_color
(for the stylesParleyMessageUserStyle
andParleyMessageAgentStyle
). Defaults beingparley_user_image_time_background
andparley_agent_image_time_background
, transparent.
3.11.2
- [Accessibility] Fixed not being able to open images when using TalkBack.
- [Accessibility] Showing images fullscreen now show the image name.
- [Balloon] Fixed shadows not resizing when font size changes.
- [Accessibility] Links in the chat are now always underline and bold.
- [Accessibility] Improved navigation when a chat message contains only text.
3.11.1
3.11.0
- [Chat Message] Fixed an issue causing agent images not to load since 3.10.0.
- [Network] Added support for providing a custom network session to prevent using Parley's default implementation. Check out the Advanced - Network section to use this.
- [Network] Important
ParleyNetwork.setInterceptor()
is removed. Use a custom network session instead, or provide the interceptor with the defaultRetrofitNetworkSession
of Parley, as described in the Advanced - Network section.
3.10.0
- [Source] Parley now uses Kotlin at certain parts. Make sure to configure Kotlin in your project in case it doesn't use Kotlin yet.
- [Send Media] Fixed an issue that could cause media to be send twice when using Android 14 or higher.
- [Send Media] Added support for sending PDF files when using clientApi version 1.6 or higher.
- [Chat Message] Added support for PDF documents within the chat.
- [Styling] Addition: Added
parley_compose_media_icon
toParleyComposeView
. By default this is a+
icon to send media within the chat (camera/gallery/document). - [Styling] Addition: Added
parley_compose_media_icon_tint
toParleyComposeView
. Since this now reflects what it is referring to. - [Styling] DELETION: Removed
parley_compose_camera_tint
fromParleyComposeView
. Useparley_compose_media_icon_tint
instead. - [Styling] DELETION: Removed
parley_compose_camera_icon
fromParleyComposeView
. Useparley_compose_media_icon
instead. - [Styling] DEPRECATION: Replace
parley_images_enabled
withparley_media_enabled
. - [Styling] REPLACED: Replaced
parley_images_enabled
style attribute withparley_media_enabled
. - [Styling] REPLACED: Replaced
parley_ic_camera
icon from the drawables withparley_ic_add
. - [Styling] REPLACED: Replaced
parley_action_divider_margin_*
withparley_divider_margin_*
. - [Styling] REPLACED: Replaced
parley_action_divider_color
withparley_divider_color
. - [Styling] REPLACED: Replaced
parley_agent_action_divider_margin_*
withparley_agent_divider_margin_*
. - [Styling] Addition: Added
parley_user_divider_margin_*
(also asparley_divider_margin_*
for the styleParleyMessageUserStyle
). - [Styling] Addition: Added
parley_user_divider_color
(also asparley_divider_color
for the styleParleyMessageUserStyle
). - [Styling] Addition: Added
parley_file_name_font_family
(for the stylesParleyMessageUserStyle
andParleyMessageAgentStyle
). - [Styling] Addition: Added
parley_file_name_font_style
(for the stylesParleyMessageUserStyle
andParleyMessageAgentStyle
). - [Styling] Addition: Added
parley_file_name_text_size
(for the stylesParleyMessageUserStyle
andParleyMessageAgentStyle
). - [Styling] Addition: Added
parley_file_name_text_color
(for the stylesParleyMessageUserStyle
andParleyMessageAgentStyle
). - [Styling] Addition: Added
parley_file_action_font_family
(for the stylesParleyMessageUserStyle
andParleyMessageAgentStyle
). - [Styling] Addition: Added
parley_file_action_font_style
(for the stylesParleyMessageUserStyle
andParleyMessageAgentStyle
). - [Styling] Addition: Added
parley_file_action_text_size
(for the stylesParleyMessageUserStyle
andParleyMessageAgentStyle
). - [Styling] Addition: Added
parley_file_action_text_color
(for the stylesParleyMessageUserStyle
andParleyMessageAgentStyle
). - [Strings] Addition: Added
parley_message_file_downloading
. - [Strings] Addition: Added
parley_media_select
. - [Strings] Addition: Added
parley_media_camera
. - [Strings] Addition: Added
parley_media_gallery
. - [Strings] Addition: Added
parley_media_document
. - [Strings] Addition: Added
parley_general_open
. - [Strings] DELETION: Removed
parley_photo
. - [Strings] DELETION: Removed
parley_select_photo
. - [Strings] DELETION: Removed
parley_take_photo
. - [Api Version] DELETION: Removed support for clientApi version 1.0 and 1.1.