Skip to content

SDK Installation

Learn how to install and set up the SilverOTA React Native SDK in your app.

Prerequisites

Before installing the SDK, ensure you have:

  • Completed CLI installation
  • Run silverbullet-ota project init in your project
  • A SilverOTA account with an active project

The project init command automatically installs the SDK for you. This guide covers manual installation and verification.

Automatic Installation

When you run project init, the SDK is installed automatically:

bash
npx silverbullet-ota project init

This installs:

  • @silverbullet-ota/react-native - The core SDK
  • @silverbullet-ota/bare or @silverbullet-ota/expo - Build plugin

Manual Installation

If you need to install the SDK manually:

bash
npm install @silverbullet-ota/react-native
bash
yarn add @silverbullet-ota/react-native
bash
pnpm add @silverbullet-ota/react-native

Next Steps

After installation:

  1. Initialize the SDK in your app