Install JavaScript SDK (Deprecated)
The Social Plus 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 Install 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
oryarn
. If your current build system does not use package managers, please contact us at community.socialplus.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+
Social Plus Web SDK probably won't work great in Internet Explorer 11. We generally support the recent versions of the major browsers listed above.
Since Social Plus Web SDK uses local cache for performance and user experience reasons, server side rendering is not supported. To use Social Plus Web SDK with NextJS, Social Plus 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