Intall TypeScript SDK
The Amity Social Cloud SDK for TypeScript is delivered as an npm module.
Add the SDK to your repository with this code:
npm install @amityco/ts-sdk --save
yarn add @amityco/ts-sdk
The very first thing to do once you have installed the SDK, is to creating an instance of the client and logging in.
- 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 reasons, 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.
Use our TypeScript SDK natively to support your applications built using the React Native framework.
core-jsin your project.
npm install core-js
fromEntriesin the root of your project.
Now you’re ready to start integrating our SDK into your application.