1.2.2
Additions:
- Reconnection handling.
- Add support to send message with custom attributes.
- Add
connect(shouldConfigure: Boolean)
function to API. - Use NSURLSessionWebSocketTask for iOS.
- Minimum supported version of iOS is 13.0.
- iOS PlatformSocket pingInterval now behaves similarly to OKHttp websocket.
- Replace
kotlinx.date-time
library withklock
library that does not useInstant
api. (Fix incorrect timestampt)
Deletion/Deprecation:
- Deprecate
connect
andconfigure
use parameterizedconnect(shouldConfigure: Boolean)
instead. - Remove Region enum and generation script.
Documentation:
- Add/Update KDoc to reflect the changes.
- Add/Update
developer-center
documentation.
Build:
- Ignore Snyk vulnerability.
Tests:
Unit Tests:
- Provide/Update unit tests to cover new functionality.
Automation Tests:
- Added a new E2E test in the iosApp target.
- New test for attaching and sending an image.
Test applications
Android
- Update test app to reflect the changes.
- Downgrade the minSdkVersion on TestBed app to 21.
iOS
- Update test app to support reconnection and customAttributes.
- Factoring UI concerns out of MessengerHandler.
- iosApp min target to iOS 13.
- Update info display on state change.
Full Changelog: v1.2.1...v1.2.2