Getting Started

Get started with the StreamLayer React Native SDK. Install, configure, and integrate interactive features into your React Native or Expo app.

Welcome to the StreamLayer React Native SDK documentation. This guide covers everything you need to integrate StreamLayer into your React Native or Expo app.

Start with your AI coding assistant

Connect your assistant to StreamLayer docs before changing code, then use this prompt. The connection lets it search the current guides and read the platform integration skill as it works.

Help me integrate StreamLayer into my existing React Native or Expo app.
Use the streamlayer-docs MCP to search for and fetch the matching integration
guide and the streamlayer-react-native-integration skill page before editing code.
If search does not return the skill, read https://docs.streamlayer.io/docs/react-native-integration-skill
or ask me to copy that page into this session.
Cite the sources, confirm my SDK version and prerequisites, and make the smallest
documented change while preserving my player and app structure. Report missing
or conflicting guidance instead of guessing. Use placeholder keys in examples.
Finish with the checks run and the remaining platform/device validation steps.

Review the diff and follow the platform setup and testing guidance linked below.

Quick Start Path

  1. Read the Introduction — Understand what StreamLayer delivers and how the SDK architecture works.
  2. Your Integration Guide:
  1. Try a Test Integration — Validate your setup with a minimal working example.
  2. Explore Sample Integrations — Fully functional reference projects.

What You Can Build

FeatureDescriptionGuide
Moment-Based AdvertisingContextual ads triggered by live eventsAds Integration
Pause AdsInteractive brand ads displayed when viewers pause contentPause Ads
Ads + GamesInteractive game elements with advertisingAds + Game Integration
Authentication ForwardingPass your app’s user session to StreamLayerAuth Forwarding
API ReferenceFull SDK API documentationAPI Reference

System Requirements

  • React Native 0.74+ (New Architecture)
  • Expo SDK 52+ (with Expo Modules)
  • iOS 15+ / Android SDK 24+

Support


Related



What’s Next

‘’