🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

react-native-rn-exo-player

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

react-native-rn-exo-player

## Getting started

1.0.1
unpublished
latest
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

react-native-rn-exo-player

Getting started

$ npm install react-native-rn-exo-player --save

Mostly automatic installation

$ react-native link react-native-rn-exo-player

Manual installation

iOS

  • In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  • Go to node_modulesreact-native-rn-exo-player and add RNRnExoPlayer.xcodeproj
  • In XCode, in the project navigator, select your project. Add libRNRnExoPlayer.a to your project's Build PhasesLink Binary With Libraries
  • Run your project (Cmd+R)<

Android

  • Open up android/app/src/main/java/[...]/MainActivity.java
  • Add import com.reactlibrary.RNRnExoPlayerPackage; to the imports at the top of the file
  • Add new RNRnExoPlayerPackage() to the list returned by the getPackages() method
  • Append the following lines to android/settings.gradle:
    include ':react-native-rn-exo-player'
    project(':react-native-rn-exo-player').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-rn-exo-player/android')
    
  • Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-rn-exo-player')
    

Windows

Read it! :D

  • In Visual Studio add the RNRnExoPlayer.sln in node_modules/react-native-rn-exo-player/windows/RNRnExoPlayer.sln folder to their solution, reference from their app.
  • Open up your MainPage.cs app
  • Add using Rn.Exo.Player.RNRnExoPlayer; to the usings at the top of the file
  • Add new RNRnExoPlayerPackage() to the List<IReactPackage> returned by the Packages method

Usage

import RNRnExoPlayer from 'react-native-rn-exo-player';

// TODO: What to do with the module?
RNRnExoPlayer;

Keywords

react-native

FAQs

Package last updated on 21 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts