Install JavaScript SDK (Deprecated)

The Amity Social Cloud SDK for JavaScript is delivered as an npm module.

The JavaScript SDK has been deprecated, and we will discontinue its support by September 30, 2024. Please transition to the TypeScript SDK before this obsolescence date. Please visit Intall TypeScript SDK for the installation guide.

Installation

Add the SDK to your repository via npm: npm install @amityco/js-sdk --save.

Installing the SDK requires you to use a javascript package manager such as npm or yarn. If your current build system does not use package managers, please contact us at community.amity.co.

If you already installed our SDK with the name eko-sdk, be sure to check our migration guide from version 4 to 5.

Browser Support

  • Chrome: 38+

  • Firefox: 42+

  • Microsoft Edge: 13+

  • Safari: 9+

  • Opera: 25+

Amity Web SDK probably won't work great in Internet Explorer 11. We generally support the recent versions of major browsers listed above.

Since Amity Web SDK uses local cache for performance and user experience reason, server side rendering is not supported. To use Amity Web SDK with NextJS, Amity Web SDK must be imported using Dynamic Import with SSR disabled.

AmitySDK already includes our UIKit. Don’t install the UIKit separately if you have already installed the SDK.

Last updated