Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sendbird

Package Overview
Dependencies
Maintainers
1
Versions
226
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sendbird

Sendbird JavaScript SDK

  • 3.0.134
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6.3K
decreased by-55.36%
Maintainers
1
Weekly downloads
 
Created
Source

npm

Sendbird JavaScript SDK

Sendbird provides the chat API and SDK for your app enabling real-time communication among your users.

Getting Started

bower package for Sendbird JavaScript SDK

  bower install sendbird

npm module for Sendbird JavaScript SDK

  npm install sendbird --save

Download for Sendbird JavaScript SDK if you wish to use it without a package manager.

NOTICE! You should also add axios library into the script tag before the Sendbird library inclusion since v3.0.127. You can host the library by your own, or utilize the CDN as the library refers to it. The below is an example.

<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="/your-own-path-to-sendbird/Sendbird.min.js"></script>

TypeScript

Install via NPM and import like below in your TypeScript file:

import * as SendBird from "sendbird";
var sb = new SendBird({ appId: "APP_ID" });
// do something...

If you have trouble importing Sendbird, please check your tsconfig.json file and change the value of "allowSyntheticDefaultImports" to true in compilerOptions.

Sample

SyncManager

SyncManager is a support add-on for Sendbird SDK. Major benefits of SyncManager are,

  • Local cache integrated: store channel/message data in local storage for fast view loading.
  • Event-driven data handling: subscribe channel/message event like insert, update, remove at a single spot in order to apply data event to view.

Check out Basic Sample with SyncManager which is similar to Basic Sample but SyncManager integrated. For more information about SyncManager, please refer to SyncManager README.

Documentation

v3.0.134(SEP 17, 2020)

If you want to check the record of other version, go to Change Log.

  • Added getTypingUsers() in GroupChannel.
    • It returns the users even if the user is not in members.
    • Deprecated getTypingMembers() in GroupChanenl.
  • Set url as visible in FileMessage object.
  • Set profileUrl as visible in User object.
  • Bug-fix in error handling
  • Improved stability.

Change Log

License

Sendbird License

Keywords

FAQs

Package last updated on 17 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc