Skip to main content
Skip table of contents

React Native SDK Integration Guide

Product release files

NAGRA supplies the following files as part of your release:

  • opy-react-native-<version>-react-otvplayer.zip
    This archive holds the React Native plug-in and must be included as a dependency in your project.

  • opy-react-native-<version>-examples.zip
    This archive holds example integrations of the React Native plug-in demonstrating various features of the SDK.

Development environment

For Android, iOS and tvOS platforms see the React Native getting started guide and follow the React Native CLI Quickstart (not Expo CLI Quickstart).
For Web/HBBTV see the React Native Web getting started guide and follow Create React App (not Expo).

NAGRA recommends using Mac for development purposes, instructions for setting up on Windows are also provided.

The plug-in has been developed using the following dependency versions. NAGRA recommends using the following versions or higher:

  • Node 12.13.0
  • Yarn 1.22.10
  • CocoaPods 1.10.1

The plug-in is built with [email protected], and it is compatible with [email protected]

See  Installing a Mac development environment for more information.

Prerequisites

The package managers Homebrew or Chocolatey are available on your system.

Support

iOS/tvOS 12.0 and above releases are supported; iOS/tvOS simulators are not supported.
Android 5.0 and above is supported; Android emulators are not supported.

Using the plugin

To start using SDK features, NAGRA recommends viewing the pages relevant to the features you wish to implement. A good starting point is the  Playback of clear content feature page, which will give you a player capable of unencrypted playback.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.