Skip to content

Releases: parley-messaging/android-library

3.10.0

30 Jul 12:06
8fb7302
Compare
Choose a tag to compare
  • [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 to ParleyComposeView. By default this is a + icon to send media within the chat (camera/gallery/document).
  • [Styling] Addition: Added parley_compose_media_icon_tint to ParleyComposeView. Since this now reflects what it is referring to.
  • [Styling] DELETION: Removed parley_compose_camera_tint from ParleyComposeView. Use parley_compose_media_icon_tint instead.
  • [Styling] DELETION: Removed parley_compose_camera_icon from ParleyComposeView. Use parley_compose_media_icon instead.
  • [Styling] DEPRECATION: Replace parley_images_enabled with parley_media_enabled.
  • [Styling] REPLACED: Replaced parley_images_enabled style attribute with parley_media_enabled.
  • [Styling] REPLACED: Replaced parley_ic_camera icon from the drawables with parley_ic_add.
  • [Styling] REPLACED: Replaced parley_action_divider_margin_* with parley_divider_margin_*.
  • [Styling] REPLACED: Replaced parley_action_divider_color with parley_divider_color.
  • [Styling] REPLACED: Replaced parley_agent_action_divider_margin_* with parley_agent_divider_margin_*.
  • [Styling] Addition: Added parley_user_divider_margin_* (also as parley_divider_margin_* for the style ParleyMessageUserStyle).
  • [Styling] Addition: Added parley_user_divider_color (also as parley_divider_color for the style ParleyMessageUserStyle).
  • [Styling] Addition: Added parley_file_name_font_family (for the styles ParleyMessageUserStyle and ParleyMessageAgentStyle).
  • [Styling] Addition: Added parley_file_name_font_style (for the styles ParleyMessageUserStyle and ParleyMessageAgentStyle).
  • [Styling] Addition: Added parley_file_name_text_size (for the styles ParleyMessageUserStyle and ParleyMessageAgentStyle).
  • [Styling] Addition: Added parley_file_name_text_color (for the styles ParleyMessageUserStyle and ParleyMessageAgentStyle).
  • [Styling] Addition: Added parley_file_action_font_family (for the styles ParleyMessageUserStyle and ParleyMessageAgentStyle).
  • [Styling] Addition: Added parley_file_action_font_style (for the styles ParleyMessageUserStyle and ParleyMessageAgentStyle).
  • [Styling] Addition: Added parley_file_action_text_size (for the styles ParleyMessageUserStyle and ParleyMessageAgentStyle).
  • [Styling] Addition: Added parley_file_action_text_color (for the styles ParleyMessageUserStyle and ParleyMessageAgentStyle).
  • [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

16 Jul 14:36
e5111e9
Compare
Choose a tag to compare
  • Fixed an issue that could cause images to be send twice when using Android 14 or higher.
  • Updated TrustKit to version 1.1.5.

3.9.6

14 Jun 15:23
4668b31
Compare
Choose a tag to compare
  • Fixed a crash that could happen when the ParleyView is not visible/attached.

3.9.5

12 Jun 06:48
Compare
Choose a tag to compare
  • Added Parley.purgeLocalMemory() method to clear local memory of Parley. Requires calling configure() again.
  • Fixed the chat scrolling to bottom automatically when no new messages where added (only happened with a custom polling implementation).

3.9.4

28 May 15:25
Compare
Choose a tag to compare
  • Fixed an issue where the agent name could have an unintended shadow applied (introduced in 3.9.0).
  • Updated comments concerning public keys for SSL pinning.

3.9.3

15 May 07:04
Compare
Choose a tag to compare
  • Fixed an exception when the error response does not align with the expected response of Parley when using a proxy. Since this is unexpected behavior from the proxy, this change will be reverted in a later version.

3.9.2

14 May 13:59
Compare
Choose a tag to compare
  • 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.

3.9.1

16 Apr 14:27
Compare
Choose a tag to compare
  • Added setInterceptor(interceptor) to ParleyNetwork to be able to apply a custom interceptor.

3.9.0

15 Mar 10:06
Compare
Choose a tag to compare
  • 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 styling ParleyNotificationView to configure whether to show the offline notification view.
  • Addition (styling): Added attribute parley_notification_show_notifications to styling ParleyNotificationView 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(). Use Parley.setPushToken(token, type) instead.
  • DELETION (deprecation): Removed deprecated style ParleyNotificationView.parley_icon. Use ParleyNotificationView.parley_icon_connection instead.

3.8.0

01 Nov 13:23
14c9380
Compare
Choose a tag to compare
  • 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.