Change import Schema from "ChannelIO" to "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.
New Install Guide
8.0.0 and later requires a new method of installation. Please check the new install guide.
- boot use BootConfig except ChannelPluginSettings + Profile
- The completion of boot has been changed. Please check BootCallback
- show, hide is deprecated. Use showChannelButton, hideChannelButton
- open, close is deprecated. Use showMessenger, hideMessenger
- openChat with animate is deprecated. Use openChat
- canShowLauncher is deprecated.
- handlePushNotification is deprecated. Use storePushNotification / openStoredPushNotification / receivePushNotification
- updateUser with profile is depreacted. Use updateUser
- enabledTrackDefaultEvent is deprecated. Use trackDefaultEvent
- hideDefaultInAppPush is deprecated. Use hidePopup
- LauncherConfig is deprecated. Use ChannelButtonOption
- BootCompletion has changed. Please check BootCallback
- PushEvent is deprecated. Use PopupData
- The model of the completion callback in the boot function has changed
public class func boot(with: ChannelPluginSettings, profile: Profile?=nil, completion: ((ChannelPluginCompletionStatus, Guest?) -> Void)?=nil)
public class func boot(with: ChannelPluginSettings, profile: Profile?=nil, completion: ((ChannelPluginCompletionStatus, User?) -> Void)?=nil)
- Function renamed from UpdateGuest to UpdateUser
-The model of the function completion callback has changed
public class func updateGuest(with profile: [String: Any?], completion: ((Bool, Guest?) -> Void)? = nil)
public class func updateUser(with profile: [String: Any?], completion: ((Bool, User?) -> Void)? = nil)
- The model has been renamed from Guest to User
- The model properties have been renamed
- userId -> memberId
- locale -> language
- The delegate function has been deleted due to the suspension of the pushbot function.
- we change Alamofire version 4.9 -> 5.0, so you need to [migration](reffer: https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%205.0%20Migration%20Guide.md)
- ex) Alamofire -> AF ....
Updated 2 days ago