0.5.0 • Published 14 days ago

@theolive/react-native-player v0.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
14 days ago

@theolive/react-native-player

The THEOlive React Native SDK

Installation

npm install @theolive/react-native-player

Android

Make sure you add the following repositories to your app, so gradle can find the Android SDK:

maven { url "https://maven.theoplayer.com/releases" }
maven { url "https://jitpack.io" }

iOS

Don't forget to pod install in your app's ios folder.

Usage

import { THEOlivePlayerView } from "@theolive/react-native-player";

// ...

<THEOlivePlayerView
  onPlayerReady={(player) => {
    // Use the player API to set your channelId.
    player.loadChannel('my-channel-id');
  }}
/>

Sample app

A sample app can be found here: https://github.com/THEOplayer/theolive-samples-react-native.

License

MIT


Made with create-react-native-library

0.5.0

14 days ago

0.4.0

5 months ago

0.3.0

6 months ago

0.2.0

6 months ago

0.1.0

6 months ago