Skip to content

Releases: parley-messaging/ios-library

4.1.8

12 Jul 08:06
Compare
Choose a tag to compare

IMPORTANT: Parley 4.1.8 contains a minor breaking change when using a custom network implementation. Migrating can be done easily by removing the return types to adhere to the ParleyNetworkSession implementation again.

  • [Network] Running network requests on background queue.
  • [Network] Removed cancelable implementation, since this was not being used anymore.
  • [Chat] Fixed an issue that could cause a crash when entering foreground after resetting due to the registered observers.

4.1.7

18 Jun 14:54
Compare
Choose a tag to compare
  • Fixed polling service not renewing when Parley is being reconfigured.

4.1.6

18 Jun 08:08
5609cf9
Compare
Choose a tag to compare
  • Fixed an issue where multiple polling timers were added when it reached the last interval.

4.1.5

18 Jun 07:38
Compare
Choose a tag to compare
  • Fixed an issue where polling wasn't being enabled when it should be.

4.1.4

14 Jun 15:01
Compare
Choose a tag to compare
  • Fixed a crash when showing the ParleyView before configuring Parley.
  • The ParleyView now reveals the chat messages after all loading is done (fixes a slight noticable scroll when the ParleyView is already visible).

4.1.3

05 Jun 14:09
f7735ae
Compare
Choose a tag to compare
  • Fixed polling functionality resetting its timer more frequently than intended.
  • Fixed always polling sometimes causing the initial information message to disappear or not show up as intended.
  • Automatically scroll to the bottom when new messages are received via polling.

4.1.2

04 Jun 14:08
Compare
Choose a tag to compare
  • Fixed an issue where scrolling up to load more messages could get the chat not to load even more messages.
  • Fixed an issue where loading more messages didn't scroll back to the earlier shown message after updating.
  • Fixed loading more messages triggering the API call twice sometimes.
  • Aligned image heights in the chat to be the same as Android (180, instead of 160).

4.1.1

31 May 11:20
Compare
Choose a tag to compare
  • Fixed an issue where the image viewer sometimes didn't show the image correctly.
  • Fixed agent name not scaling with dynamic font.
  • Fixed meta issues with dynamic font.
  • Added Parley.purgeLocalMemory() method to clear local memory of Parley. Requires calling configure() again.
  • Increased meta shadow height for better visibility.
  • Added Parley.setLocalizationManager(manager) for overriding localizations used by Parley.
  • Improved media capture and selection by requesting permissions after selecting the desired option.
  • Improved media selection for iOS 14 and above by using PHPickerViewController, resulting in needing less permission for sending media.
  • Added more (screenshot) tests for Parley.

4.1.0

28 May 13:54
d6d9e37
Compare
Choose a tag to compare

IMPORTANT: With Parley 4.1.0 there is a minor breaking change with appearance. Migrating can be done easily by adjusting to the new ParleyTextViewAppearance in such cases.

  • Styling: ParleyTextViewAppearance has been introduced to be able to style the fonts and colors for text views used by Parley.
  • Styling: MessageCollectionViewCellAppearance now has messageTextViewAppearance (instead of just the messageColor attribute).
  • Styling: ParleyMessageViewAppearance now has messageTextViewAppearance (instead of just the messageColor and messageTintColor attribute).
  • Styling: ParleyStickyViewAppearance now has textViewAppearance (instead of just the color and tintColor attribute).
  • Preventing duplicate creation of some classes.
  • Added Parley.setAlwaysPolling(enabled) to be able to always enable polling. Default false, since the Parley refreshes the chat when needed via push notifications.
    Note: By default polling is only enabled when notification permissions are denied (unchanged compared to previous versions).
  • Added ParleyMessageViewAppearance.imageCorners to specify the rounding corners for images.
  • The set methods that have a callback always call their callback now (instead of only when Parley was configured).
  • Better type safety in cell usage.
  • Prevent initialization of some classes and observers while Parley wasn't using them yet (now they are created when used).
  • Added screenshot testing.
  • Fixed an issue with scaling of texts when using bigger/smaller font settings.
  • Updated SSL pinning certificates.
  • Fixed an issue with the image viewer not scaling images correctly.

4.0.2

08 Apr 12:39
ddde141
Compare
Choose a tag to compare
  • Added ParleyViewAppearance.loaderTintColor to tint the loading indicator of the chat.