The Official Channel SDK Loader for Web
npm install @channel.io/channel-web-sdk-loader
yarn add @channel.io/channel-web-sdk-loader
pnpm install @channel.io/channel-web-sdk-loader
⚠️ Note: This SDK is designed for client-side use only and should not be invoked on the server-side.
import * as ChannelService from '@channel.io/channel-web-sdk-loader';
ChannelService.loadScript()
ChannelService.boot({
pluginKey: 'YOUR_PLUGIN_KEY'
})
Generated using TypeDoc