Skip to main content
Version: 11.1.0

Migrating to THEOplayer React Native SDK 11.x

This article will guide you through updating to THEOplayer React Native SDK version 11 (from version 10), and the changes needed in your code.

Update React Native THEOplayer

Run the following command to install THEOplayer React Native SDK version 11:

npm install react-native-theoplayer@11

Breaking API changes

  • Removed deprecated ResizeEvent in favor of DimensionChangeEvent.
  • Removed deprecated player.theolive property in favor of player.theoLive.
  • Removed deprecated source.integration property in favor of source.type.

Breaking Changes on Web

The breaking changes for the native Web SDK are listed in the v11 changelog, none of which impact the React Native SDK on Web.

Breaking Changes on iOS

The breaking changes for the native Web SDK are listed in the v11 changelog.

The following updates in particular impact the React Native SDK on iOS.

  • The minimum supported iOS/tvOS version is now 15.0, dropping support for iOS/tvOS 13 and 14.

Breaking Changes on Android

The breaking changes for the native Android SDK are listed in the v11 changelog.

The following updates in particular impact the React Native SDK on Android.