Releases: parley-messaging/ios-library
Releases · parley-messaging/ios-library
4.4.6
4.4.5
4.4.4
- [Chat] Fixed a cases where a message is duplicated due to iOS calling the
didReceiveRemoteNotificationmethod twice when receiving push in the background. - [Chat] Attempt to resolve an issue where reconfiguring Parley could duplicate new messages in the
specialLightweightflow.
4.4.3
4.4.2
4.4.1
- Fixed a bug where the chat would disappear when opening the chat for a second time before the library is initialized.
4.4.0
- The position of the welcome message is now adjustable. By default, it operates in
adaptivemode: the message appears at the bottom of the chat (without a date header), but if there is a chat section for today, it will be shown under the date header. You can switch back to use the old mode where it always appears at the top of the chat by settingInfoTableViewCellAppearance.positionto.legacy. - All Appearance classes/structs are now
Sendable, with some properties beingMainActorisolated
4.3.0
- [Swift] Parley is now set to use the Swift 6 language mode.
- IMPORTANT: Most static Parley methods now have an optional completion handler. The completion handlers are also required to be
Sendable. - IMPORTANT: All static Parley methods with a completion handler also have an async variant which has a typed throw (
ConfigurationError). - IMPORTANT: The
ParleyNetworkSessionnow requires being async and should throwParleyHTTPErrorResponse. - [Source] Added support for clientApi 1.8 and 1.9 (latest).
- [Chat] Now marking agent messages as read when they are rendered.
- [Chat] Added
getUnseenCount()to retrieve the amount of unseen messages when using clientApi 1.9. - [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 whenconfigure()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 better reflect which methods Parley exposes.
- [Example] Added a special flow (lightweight configure).