Skip to content
This repository has been archived by the owner on Nov 10, 2020. It is now read-only.

Releases: somia/ninchat-sdk-ios

Version 0.0.46

29 Apr 12:36
38a9768
Compare
Choose a tag to compare

Resolved issues

  • sleep screen during video calls
  • general bug fix and code improvements

Version 0.0.45

02 Apr 15:17
Compare
Choose a tag to compare

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

18 Mar 09:18
Compare
Choose a tag to compare

Resolved issues

  • #93 - Crash on Compose Messages
  • #100 - Crash on updating view because of a new message

Version 0.0.43

15 Mar 16:32
Compare
Choose a tag to compare

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

05 Mar 11:56
Compare
Choose a tag to compare

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

19 Feb 09:46
9b8c363
Compare
Choose a tag to compare

Resolved issues:

  • #62
  • #52
  • #84
  • #81
  • #47
  • #46

0.0.40: Update/go sdk (#73) (#74)

23 Jan 15:02
be07754
Compare
Choose a tag to compare
* 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

20 Jan 15:29
6322d06
Compare
Choose a tag to compare

Release Notes

  • issue #61 resolved
  • issue #53 resolved
  • minor bugs fixed

0.0.38

29 Nov 13:32
Compare
Choose a tag to compare