Skip to content

Releases: parley-messaging/android-library

3.13.0

24 Jul 09:11
Compare
Choose a tag to compare
  • [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

13 Jun 12:10
c71a362
Compare
Choose a tag to compare
  • [Source] IMPORTANT: Parley now enforces SSL pinning automatically. When using a custom network_security_config.xml, it's now needed to use tools:replace="android:networkSecurityConfig" in the AndroidManifest.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 when configure() 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

12 Jun 07:18
Compare
Choose a tag to compare
  • [Chat] Resolved a memory leak when rotating the device when Parley is or was shown.
  • [SSL Pinning] Updated SSL pinning public key of Parley.

3.11.5

13 May 13:16
Compare
Choose a tag to compare
  • [Styling] Made meta background styling only for when it's above an image.

3.11.4

02 May 08:50
Compare
Choose a tag to compare
  • [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 to parley_meta_background_color. And renamed parley_user_image_time_background and parley_agent_image_time_background to parley_user_meta_background_color and parley_agent_meta_background_color accordingly.

3.11.3

25 Apr 14:47
Compare
Choose a tag to compare
  • [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 styles ParleyMessageUserStyle and ParleyMessageAgentStyle). Defaults being parley_user_image_time_background and parley_agent_image_time_background, transparent.

3.11.2

14 Mar 10:17
Compare
Choose a tag to compare
  • [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

08 Oct 07:56
Compare
Choose a tag to compare
  • [Network] Fixed a typo when providing a custom network session (onCompetion > onCompletion).

3.11.0

18 Sep 13:42
9a5d748
Compare
Choose a tag to compare
  • [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 default RetrofitNetworkSession of Parley, as described in the Advanced - Network section.

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.