Skip to content

StorySDK/react-native-sdk

Repository files navigation

@storysdk/react-native-sdk

StorySDK - A service for creating and adding stories to mobile apps and websites. Realtime, no code solution.

Learn more: storysdk.com

Documentation

Installation

npm install @storysdk/react-native-sdk

Add the following dependencies to your project

"@miblanchard/react-native-slider": "^2.1.0",
"react-native-device-info": "^8.7.1",
"react-native-modal": "^13.0.1",
"react-native-svg": "^12.3.0",
"react-native-text-gradient": "^0.1.7",
"react-native-video": "^5.2.0"

Usage

import { StorySDKComponent } from '@storysdk/react-native-sdk';

const token = "b881fa22-ef23-41f2-92a6-efb04b147834";

// ...

<StorySDKComponent token={token} />

Get SDK token

To get the token, go to the app settings page and copy the content

Get SDK token

Documentation

The full documentation for StorySDK can be found here