Channel Developers

thumbnail
Category

SDK - React Native

SDK - React Native

Quickstart

The Channel Talk React Native SDK is a plugin facilitating the installation of real-time customer chat into React Native applications. If you intend to install it into a web view or a mobile web, please refer to the JavaScript SDK Installation Guide. Installation Execute the following command in the shell to install the SDK. npm install react-native-channel-plugin The SDK includes a list of versions that are compatible with the mobile SDK. To verify that the version you have installed is compati
Quickstart

Customization

Channel button 1. Moving Channel Button You have the option to adjust the position of the Channel button via the ChannelButtonOption. After making changes to this option, apply it to the property value of BootConfig. For example: let settings = { "pluginKey": YOUR_PLUGIN_KEY, "channelButtonOption": { "xMargin": 16, "yMargin": 16, "position": POSITION, // 'left', 'right' } } ChannelIO.boot(settings).then((result) => { //boot completed }) 2. Custom Channel button To change the appearance of the Ch
Customization

Push Notification

iOS Step 1. Setting up APNs credentials APNs Credentials settings are identical to iOS native sttings. Set by referring to Set up APNs credential of iOS. Step 2. Setting up React Native Make sure you have installed Facebook’s PushNotificationiOS. If it is not installed, refer to the react-native-push-notification repository to install it and proceed with the following procedure. 1. Request permission Requests permission to use push notification. import PushNotificationIOS from "@react-native-com
Push Notification

API Reference

API Reference3 articles
API Reference

Version Compatibility

- For iOS, note that the following constraints must be met in order to utilize the SDK. We recommend using the most recent compatible version for each listed version. - For Android, we specify the SDK versions used for each release. It is recommended to avoid modifying the version specified in Gradle to use anything other than the fixed version. RN SDK Version iOS SDK Android SDK Remarks 0.11.10 12.13.0 12.14.0 0.11.9 12.11.0 12.12.0 0.11.8 12.11.0 12.11.2 0.11.7 12.10.2 12.11.2 0.11.6 12.10.1 1
Version Compatibility

Migration

to v0.10.0 Podfile - Removed 'ChannelIOSDK' in Podfile - Removed Podfile.lock / pods folder - Run script: pod repo remove trunk && pod cache clean --all && pod update to v0.7.0 Boot Settings - unsubscribed is removed. use unsubscribeEmail (email), unsubscribeTexting (sms, lms) Listener/Delegate - onChangeProfile / onProfileChanged is deprecated. doesn't work. - A similar function, onFollowUpChanged is added. See more about Android migration iOS migration to v0.5.0 ChannelIO functions - show, hid
Migration