This repository has been archived by the owner on Nov 10, 2020. It is now read-only.
Releases: somia/ninchat-sdk-ios
Releases · somia/ninchat-sdk-ios
Version 0.0.46
Resolved issues
- sleep screen during video calls
- general bug fix and code improvements
Version 0.0.45
Resolved issues
- If audience is ended before closing video, then video view gets stuck
- Customer is able to go to closed queue
- Other reported crashes
Version 0.0.44
Resolved issues
- #93 - Crash on Compose Messages
- #100 - Crash on updating view because of a new message
Version 0.0.43
Changes
The version includes backward compatibility for applications to omit the session resumption feature by supporting the legacy API. The following APIs are now available for session initialization:
New Session, without any credentials involved (legacy)
ninchatSession.start { (error: Error?) in
if let error = error {
/// Some errors in starting a new session.
}
/// Show the SDK UI.
}
New Session with credentials included in the callback
ninchatSession.start { (credentials: NINSessionCredentials?, error: Error?) in
if let error = error {
/// Some errors in starting a new session.
}
/// Save/Cache `credentials` for resuming the session later.
}
Resume Session using provided credentials
ninchatSession.start(with: credentials) { (credentials: NINSessionCredentials?, error: Error?) in
if let error = error {
/// Some errors in resuming the session.
}
/// Update saved/cached `credentials` with the new one.
}
Version 0.0.42
Resolved issues:
- #76
- #92
Breaking changes:
Session initialization
Since the session resumption feature requires credentials, start(callBack:)
includes a NINSessionCredentials?
parameter which is used for resuming the session later.
ninchatSession.start { (credentials: NINSessionCredentials?, error: Error?) in }
Delegate methods
There might be cases where provided credentials are not valid for resuming a session. In such cases, the following delegate would be used to initiate a new session.
func ninchatDidFail(toResumeSession session: NINChatSession) -> Bool {}
Version 0.0.41
Resolved issues:
- #62
- #52
- #84
- #81
- #47
- #46
0.0.40: Update/go sdk (#73) (#74)
* go-sdk: update 'NINLowLevelClient.framework' * user-agent: add support for 'user-agent' header - Added 'User-agent' header to 'NINChatSession' - Updated 'NINLowLevelClient' to 0.0.40 (was 0.0.11) * fix: resolve comments and bugs - Update to fix #61 bug in some cases. - Update appVersion to sdkVersion - Update user-agent value in different 'nil' paramter cases - Update README and LICENSE
0.0.39
Release Notes
- issue #61 resolved
- issue #53 resolved
- minor bugs fixed