Releases: parley-messaging/android-library
Releases · parley-messaging/android-library
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.
3.9.7
3.9.6
3.9.5
3.9.4
3.9.3
3.9.2
- Added
Parley.setRequestNotificationPermission(enabled)
to control whether Parley should request notification permissions and handle the channels.- By default this is
true
, where Parley will handle the permission request and create the notification channels when needed. - NOTE: When disabling this, it's required to handle requesting the notification permission in another way, as well as creating the notification channels that are required for Parley to work properly.
- By default this is