Skip to content

TheWidlarzGroup/react-native-offline-video-starter

Repository files navigation

rnv-offline-banner

This is a demo React Native app showcasing an integration with the Offline Video SDK. It allows users to download video streams (e.g. HLS) and play them offline - even in airplane mode ✈️ No need to manually manage caching, DRM, or playback logic - the SDK handles it all for you.

Features

  • Video list with downloadable content
  • Download icon on each item triggers local download
  • Automatic playback from local storage if the asset is available
  • Fallback to online streaming when the video hasn’t been downloaded yet
  • Real-time download progress indicator

This starter kit uses the SDK’s core capabilities – a lightweight and clean base for further development 🔧

Offline_Video_Sample.mp4

Get Your SDK Token

To run the app, you’ll need your own SDK API token, which can be generated by signing in to the dashboard:
👉 https://www.thewidlarzgroup.com/offline-video-sdk

Once you have your token, paste it into the code here:

const API_KEY = '<API_KEY>';

This token is required for proper SDK registration and access to offline functionality 🎟️

Follow the short guide provided in the dashboard after token creation to complete configuration

Get Started Now

To launch the app locally:

bun install
cd ios && pod install && cd ..
bun start

Make sure you’ve replaced the API key before launching the app

What else can the SDK do?

This sample focuses on core functionality – but the SDK offers much more:

  • 🔐 DRM support (Widevine, FairPlay)
  • ⏯️ Pause, resume, and cancel downloads
  • 🎚️ Select video quality, audio tracks, and subtitles
  • 📦 Manage multiple assets and download statuses
  • 🎥 Seamless integration with react-native-video

Check the full documentation here: 👉 https://docs.thewidlarzgroup.com/offline-video-sdk

Build Your Own Experience

This app is a solid starting point for building out a more advanced offline video experience -from basic downloads to full-featured media management. Want to go further → Start building your own experience today. Get the SDK


This Starter Kit is a source available product. Please refer to license for details on licensing and contact TWG for pricing