### Fixes
- Set customer custom fields correctly for Livechat mode
2.2.0 - 2024-11-04
## CXoneChatSDK
- Enhance AuthorizeCustomer of new attributes
- Map actual agent image URL to Agent's imageUrl
- Hide
inContactId
from Agent - Expanded Unit Testing
- Deprecate
inContactId
,loginUsername
andemailAddress
for an Agent object - Improve handling of archiveThread
- Added additional HTTP headers for
URLRequest
- deprecate CXoneChat.delegate in favor of CXoneChat.add/remove(delegate:)
- Change
set(_:)
toset(customer:)
in CustomerProvider
- Increased the timeout duration for the server response during the ping/pong checks.
- Handle properly chat states after connect and when thread recover fails
- Handle disconnect based on expectation state (disconnect triggered by host application vs. disconnect due to websocket pong not received)
### Features
- Add colors related to the UI redesign
### Fixes
- Fix load more messages
- Fixed issue where messages in the middle of a group might not be displayed.
- Add/Remove delegate correctly in onAppear/onDisappear methods
## Sample
- Fallback to default customer name for guest login
- Exclude hardcoded versions from workflows to GitHub repository variables
- Bumps xavierLowmiller/xcodegen-action from 1.2.2 to 1.2.3
- Exclude SwiftGen from workflows to separate script and fix "build", "deploy_app" and "deploy_documentation" workflows
2.1.0 - 2024-07-29
- Custom Customer ID
- Remove custom field definitions validation
- Update minimum iOS deployment target to 15
- Prefill prechat survey with customer data
- correct check for locally created thread
- "properly" handle start/stopSecurelyScopedResource
- Working Live chat set position in queue
- Change version to 2.1.0
- Resolve SwiftLint warnings
- Attachments upload dialog
- Highlight text message cell content for links/phone numbers
- Minimum iOS deployment target
- Display thumbnail previews for selected attachment videos/images.
- Utilize Swift's Quicklook framework to view documents
- Refactors chat window navigation and presentation to:
- not be dependent on host application UINavigationController
- host application interface with chat window is greatly simplified and can be integrated into either a UIKit or SwiftUI interface as a sheet or other "presented" view controller.
- Prefill prechat survey with customer data
- Rotation bug on iOS15
- Incorrect attachment size displayed for single attachment
- append UTType.movie for all videos
- fix MessageGroupView preview
- Resolve SwiftLint warnings
- Move customer details form from UI module to sample app
- Minimum iOS deployment target
- Resolve SwiftLint warnings
- GitHub action to deploy to GitHub Artifactory, Perfecto and TestFlight
- Bump tarides/changelog-check-action from 2 to 3
- Update GitHub action runners to macos-latest
2.0.1 - 2024-07-11
### Bug Fixes
- Correct live chat set position in queue
2.0.0 - 2024-05-22
- Update ListFieldView behavior for iOS 14
- Exclude links from multiattachments view
- correct check for locally created thread
- Rotation bug on iOS15
- Incorrect attachment size displayed for single attachment
- append UTType.movie for all videos
- remove validation for Prechat survey
- Fix installation of SwiftGen with homebrew disabling swiftgen
- Fix Build/test break
- "properly" handle start/stopSecurelyScopedResource
- Bump peaceiris/actions-gh-pages from 3 to 4
- Bump xavierLowmiller/xcodegen-action from 1.1.3 to 1.2.0
- add Mobile SDK EU1 QA configurations
- Better welcome message handling
- Disable modification for archived thread
- Add localized strings to sdk package
- implement file restrictions parsing and publication
- update DeviceFingerprint with new expectations from web team
- Add Live chat mode
- Deprecate legacy plugins
- Attachments validation in the SDK
- Attachments Restrictions - file type
- Handle sent message via
onThreadUpdated(_:)
- Privacy Manifest
- Implement Feature Toggles
- Create SDK's UserDefaults + Better Keychain handling
- Process large events from S3
1.3.3 - 2024-05-15
- make assignedAgent optional for the event
1.3.2 - 2024-03-21
- Create SDK's UserDefaults + Better Keychain handling
1.3.1 - 2024-03-12
- Privacy Manifest
1.3.0 - 2024-03-12
- Fixed deeplink format
- Correct CreateOrUpdateVisitor URL
- Resolve issue with submodules for GitHub Actions
- working Login preview
- checkout submodules for Deploy to TestFlight GH action
- Bottom offset for older devices
- Don't create customer with setting name
- duplicate SFSymbol image to SwiftUI + remove conversion from UIImage to Image
- Fix installation of SwiftGen with homebrew disabling swiftgen
- Correct API call in onAppear + adjust logging
- Handle RecoverThreadFailedEvent internally + prevent from archiving not yet existing thread
- Correct path for publishing build to TestFlight
- Working Remote Notifications
- Remove reporting viewPage for chat related
- Archive sample app for TestFlight GH Action
- edit configuration for archiving app
- Correct title when enter thread detail
- Fixed problem in hexString where wrong color was being created.
- fix UI issues related to iOS14
- Fix Deploy to TestFlight action
- Handle different thread correctly
- Fix issue when multiple messages with matching ids are received
- add login error state in case of unreachable API
- Add basic validation for brandId and channelId
- Login with Amazon SDK update + fixed Launch screen storyboard
- Trigger Analytics events with correct createdAt format
- Create tag with deploy to TestFlight
- Add GitHub action for generating IPA
- Deploy to TestFlight
- change open Chat button background color
- Re-write ThreadList from UIKit to SwiftUI
- Implementation of UI Module
- Add License
- Add section how to run Sample Application
- Integrate Crashlytics
- Enhance SDK Architecture
- Correct handling of welcome message
1.2.0 - 2023-09-22
- working Login preview
- Remove reporting viewPage for chat related
- duplicate SFSymbol image to SwiftUI + remove conversion from UIImage to Image
- Bottom offset for older devices
- Working Remote Notifications
- Correct API call in onAppear + adjust logging
- Analytics Provider Error Handling + Connect in Login
- Cart and ProductDetail summary backgroundColor
- Replaced usage of keychain with UserDefaults
- Setting image as brand logo not working as expected
- Fixed issue where SettingsView was crashing
- Correct title when enter thread detail
- Fixed problem in hexString where wrong color was being created.
- change open Chat button background color
- Login with Amazon SDK update + fixed Launch screen storyboard
- Update version to 1.2.0
- remove deprecated API + rename uri to url in the rest of the project
- Event Type Unification
- Add basic validation for brandId and channelId
- Connect Chat flow from Store
- Use web-analytics for analytics events
- Add case studies + change jazzy output file
- Remote Push Notifications Manager
- Implement E-shop
- Create or Update Visitor via REST API
- Update decoding of ThreadRecoveredEvent
- Implement pageViewEnded
- Analytics Usage in E-shop
1.1.1 - 2023-07-10
- Update decoding of ThreadRecoveredEvent
1.1.0 - 2023-06-23
- Remove not supported fields in ReceivedThreadRecoveredPostbackData
- Return message with attachments
- use correct EventDataType for loadThreadData and messageSeenByCustomer
- dont clear keychain with disconnect
- working action for Changelog
- use Docker image for changelog GitHub action
- use correct UUID for thread
- access file stored in Documents
- SwiftLint explicit init
- Event Type Unification
- use Codable only in valid cases + Encodable in test target
- Dependencies version update
- Message send returns Message model
- Dynamic Pre-chat Survey
- Implementation of the quick replies message type
- Implement List Picker and update previous rich message type
- Implementation of the rich link message type
- notify about close connection
- Postback for plugin messages
- Fresh Event Naming
- Add case studies + change jazzy output file
1.0.1 - 2023-03-14
- notify about close connection
- Logging PoC
- Error handling
- Connection
- Ping to ensure connection state
- Execute trigger manually
- Handle unexpected disconnect
- Customer
- Save customer credentials
- Customer authorisation
- Customer reconnect
- OAuth
- Customer Custom Fields
- Save customer custom fields
- Threads
- Update thread name
- „Read“ flag
- „Delivered“ flag
- Threads load
- Contact inbox assignee change
- Recover thread
- Typing indicator
- Archive thread
- Load thread metadada
- Handle proactive action
- Welcome message
- Custom popup box
- Contact Custom Fields
- Save contact custom fields
- Messages
- Send/Receive attachments
- Image
- Video
- Documents
- Handle a message
- Text
- Plugin
- Gallery
- Menu
- Text and Buttons
- Quick Replies
- Satisfaction Survey
- Custom
- Sub Elements
- Text
- Title
- File
- Button/iFrame Button
- Previous message load
- Send/Receive attachments
- Analytics
- Page view
- Chat window open
- App visit
- Conversion
- Custom visitor event
- Proactive action
- display
- success
- failure
- typing start/end