Skip to main content

React Native SDK

NPM Package: @social.dev/rn-sdk

Take care

We have designed the SDK's to be as extensible as possible so that you don't need to modify / fork them directly. Read the Build docs to see how to extend the SDK's.

Installing

Clone the repository

If you haven't already, you should clone the social.dev repository and navigate to the rn-sdk package.

git clone [email protected]:socialdotdev/social.dev.git && cd social.dev/packages/rn-sdk

Dev mode server

The dev server will listen for changed and automatically rebuild the package

pnpm dev

Component Library

In order to allow for maximum customisation of the SDK, all components import child components via the useComponentLibrary hook. New components can be added to the component library by modifying the ComponentLibraryProvider.