Migration

Migration to v9.1.2 from v9.0

Change import Schema from "ChannelIO" to "ChannelIOFront"

v9.0:

import ChannelIO

v9.1:

import ChannelIOFront

🚧

If you were not using memberId boot option,

The chat history can be initialized on only user-side after migrate to v9.1. This is the same situation as re-install of the app.
If you are using memberId, it works the same as before.

Migration to v8 from v7

Installation

❗️

New Install Guide

8.0.0 and later requires a new method of installation. Please check the new install guide.

ChannelIO functions

BootConfig

Callback

Models

Migration to v7 from v6

ChannelIO

boot

  • The model of the completion callback in the boot function has changed

v6:

public class func boot(with: ChannelPluginSettings, profile: Profile?=nil, completion: ((ChannelPluginCompletionStatus, Guest?) -> Void)?=nil)

v7:

public class func boot(with: ChannelPluginSettings, profile: Profile?=nil, completion: ((ChannelPluginCompletionStatus, User?) -> Void)?=nil)

UpdateGuest

  • Function renamed from UpdateGuest to UpdateUser
    -The model of the function completion callback has changed

v6:

public class func updateGuest(with profile: [String: Any?], completion: ((Bool, Guest?) -> Void)? = nil)

v7:

public class func updateUser(with profile: [String: Any?], completion: ((Bool, User?) -> Void)? = nil)

Guest

  • The model has been renamed from Guest to User

ChannelPluginSettings

  • The model properties have been renamed
  • userId -> memberId
  • locale -> language

ChannelPluginDelegate

onClickRedirect

  • The delegate function has been deleted due to the suspension of the pushbot function.

Alamofire 5.0 migration