Swiftpack.co - Swift Packages by parley-messaging

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by parley-messaging

parley-messaging/ios-library 4.0.2
Parley iOS app library
⭐️ 2
🕓 1 week ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
4.0.2
1 week ago
- Added `ParleyViewAppearance.loaderTintColor` to tint the loading indicator of the chat.
4.0.1
1 week ago
### Upgrading: **IMPORTANT**: With Parley 4.0.1 the `ParleyNetworkSession` has the `parameters` method changed to `data`. - This is only a small breaking change syntax-wise when implementing your own `ParleyNetworkSession`. - The content of `data` should be put as the body of the request (the request content type is `application/json`, so if needed, it may be encoded as JSON in the body). - Check out Parley's standard `AlamofireNetworkSession` to see how this is could be implemented. ### Changes: - Updated `ParleyNetworkSession` protocol: Changed `parameters` to `data` to correctly reflect the intended usage.
4.0.0
4 weeks ago
### Upgrading: **IMPORTANT**: With Parley 4.0.0 there are a few breaking changes. Migrating can be done easily with a few changes. _What's changed?_ - In Parley 3.9.2 and lower Parley provided a network implementation which uses the Alamofire dependency. Therefore the dependency to Alamofire was attached to the project by Parley. - In Parley 4.0.0 and higher the network implementation is separated from the core. Resulting in the modules: `Parley` (required) and `ParleyNetwork` (optional). This enables using your own network implementation and prevents requiring the use of dependencies that the standard Parley implementation uses. When providing your own network implementation, there is no need to import `ParleyNetwork` to your project. For more information, see [Advanced - Network layer](README.md#network-layer). - In Parley 4.0.0 some deprecated methods have been removed which used default values for their parameters for backwards compatibility. These were deprecated for a while already, and similar methods are available under the same name. Provide the required parameters now when facing this. - In Parley 4.0.0 the Parley datasource required to enabling offline messaging has been split up to different datasources. Each datasource has its own responsibility now, rather than one datasource doing everything. All datasources are required to enable offline messaging. Parley still provides standard implementations for enabling offline messaging. See [Advanced - Offline messaging](README.md#offline-messaging) for the new implementation. - In Parley 4.0.0 the `ParleyNetwork` to configure the network configuration (base url, path, api version and headers) has been renamed to `ParleyNetworkConfig`. The underlying structure remained the same. - In Parley 4.0.0 the `Parley.setNetwork` method has been removed. Pass the new `ParleyNetworkConfig` to the `Parley.configure()` method. - In Parley 4.0.0 support for the Parley Client API version 1.0 to 1.5 has been dropped. Please update to a newer version when using 1.5 or lower, for the available versions, see [Version lifetime](https://developers.parley.nu/docs/version-lifetime). ### Changes: - Split up Parley package to `Parley` and `ParleyNetwork`. You can now use Parley with your own http network layer. To do so you can implement `ParleyNetworkSession`. - Update Reachability to 5.2.0 (from 5.1.0) - Move configuring network settings to the `Parley.configure` function to make the setup order more clear. - Rename `ParleyNetwork` to `ParleyNetworkConfig` to better represent what the struct does. - Removed support for Client API 1.0 to 1.5. - Added appearance option to hide the offline and push disabled notification views ([#73](https://github.com/parley-messaging/ios-library/issues/73)).
3.9.2
8 weeks ago
- Fixed taking pictures not sending (regression by 3.9.1). - Fixed an issue where small image messages were not taking the full width. - Fixed an issue causing some texts to display wrong. - Fixed an issue causing loading more triggering too early and inconsistently. - Fixed an issue where the chat wouldn't scroll fully to the bottom directly when opening the chat. - Added support for client API 1.7. - Removed an unneeded guard statement when handling push messages.
3.9.1
8 weeks ago
- Parley now returns the formatted error message of the backend when an error occurs when configuring or registering the device. - When selecting or sending an image that will fail to upload, an alert will be shown with the relevant error. - When an image inside the chat contains an error, the error message will be shown in the chat. - Resolved some memory leaks. - Fixed an issue that could cause quick replies to show invisible, but taking up space.
3.9.0
12 weeks ago
- Parley now uses codables for mapping the models (instead of ObjectMapper). This change is backwards compatible. Existing chats remain unaffected and will continue to work. - Updated Alamofire to 5.8.1 (from 5.4.1) - Updated AlamofireImage to 4.3.0 (from 4.1.0) - Removed ObjectMapper dependency. - Fixed tests not showing up in Xcode. - Moved library and the example project to SPM structure and removed CocoaPods structure.
3.8.0
23 weeks ago
**IMPORTANT**: Parley now has a minimum deployment target of iOS 12.0. - Added Dynamic Type support. - Added support for VoiceOver. - Read through the chat. - Interact with the chat. - Announcing received messages. - Fully supporting rich message types. - Added dismiss button to image viewer. - All icons now preserve vector data for a cleaner resolve. - Fixed an issue where the loading or typing indicator would not display in some cases.
3.6.3
41 weeks ago
- Added new SSL certificate of [parley.nu](https://parley.nu) for SSL pinning.
3.6.2
1 year ago
- Fixed an issue causing quick replies not formatting correctly. - Fixed an issue causing quick replies not to show up after receiving them via push. - Fixed some layout issues when showing the notifications, sticky message, or quick replies during the chat. - Fixed an issue with some carousel messages being cut off.
3.6.1
1 year ago
- Fixed requests sometimes failing due to the body encoding (now forces JSONEncoding, instead of using the default setting of `Alamofire`). - Fixed an issue causing suggestions showing on top of existing messages, instead of below them. - Fixed an issue with suggestions drawing 50% when (re)opening the chat with quick replies.
iOS

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics