Releases: parley-messaging/android-library
Releases · parley-messaging/android-library
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
3.9.1
3.9.0
- IMPORTANT: Parley now targets API 34 (Android 14).
- IMPORTANT: Parley now has a minimum SDK of API 21 (Android 5).
- Removed
WRITE_EXTERNAL_STORAGE
permission usage for API < 20. - Removed handling for connectivity changes for API < 20.
- Parley now uses the latest stable API version by default, which is now V1.7.
- Parley now returns error messages coming from the API instead of simple error messages based on the message of a response.
- When an image inside the chat contains an error, the error message will be shown in the chat.
- When selecting or sending an image that will fail to upload, an alert will be shown with the relevant error.
- Updated versions of dependencies.
- Updated Proguard rules when using R8.
- Addition (styling): Added attribute
parley_notification_show_connection
to stylingParleyNotificationView
to configure whether to show the offline notification view. - Addition (styling): Added attribute
parley_notification_show_notifications
to stylingParleyNotificationView
to configure whether to show the notifications disabled view. - DELETION (deprecation): Removed deprecated
ParleyNetwork(String url, String path, @XmlRes Integer securityConfigResourceFile)
. Use the constructors that specify the API version instead. - DELETION (deprecation): Removed deprecated
ParleyNetwork(String url, String path, @XmlRes Integer securityConfigResourceFile, Map<String, String> headers)
. Use the constructors that specify the API version instead. - DELETION (deprecation): Removed deprecated
Parley.setFcmToken()
. UseParley.setPushToken(token, type)
instead. - DELETION (deprecation): Removed deprecated style
ParleyNotificationView.parley_icon
. UseParleyNotificationView.parley_icon_connection
instead.
3.8.0
- Added support for the Android accessibility features.
- Added support for TalkBack.
- Read through the chat.
- Interact with the chat.
- Announcing received messages.
- Fully supporting rich message types.
- Added support for font and display scaling.
- Improved nullability around the message
typeId
. - Fixed a layout inconsistency in compose view.
- Fixed image viewer close icon tint for lower API levels.