Install TypeScript SDK
The Social Plus SDK for TypeScript is delivered as an npm module.
Installation
Add the SDK to your repository with this code:
npm:
yarn:
Getting Started
The very first thing to do once you have installed the SDK, is to creating an instance of the client and logging in.
Once the client has been instantiated and you are logged in. You can now use API's to create a channel, message, community and posts!
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.
React Native Framework
Use our TypeScript SDK natively to support your applications built using the React Native framework.
To support older JavaScript runtime, you need to include a global polyfill for your bundled package.
First, install core-js
in your project.
Then, import fromEntries
in the root of your project.
You can check out our React Native sample application here.
Last updated