3.0.3 • Published 5 years ago

yutin-expo-av v3.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

expo-av

Expo universal module for Audio and Video playback

API documentation

Installation

This package is pre-installed in managed Expo projects. You may skip the rest of the installation guide if this applies to you.

For bare React Native projects, you must ensure that you have installed and configured the @unimodules/core package before continuing.

Add the package to your npm dependencies

npm install expo-av

Configure for iOS

Add the dependency to your Podfile and then run pod install.

pod 'EXAV', path: '../node_modules/expo-av/ios'

Configure for Android

  1. Append the following lines to android/settings.gradle:
include ':expo-av'
project(':expo-av').projectDir = new File(rootProject.projectDir, '../node_modules/expo-av/android')
  1. Insert the following lines inside the dependencies block in android/app/build.gradle:
api project(':expo-av')
  1. In MainApplication.java, import the package and add it to the ReactModuleRegistryProvider list:
import expo.modules.av.AVPackage;
private final ReactModuleRegistryProvider mModuleRegistryProvider = new ReactModuleRegistryProvider(Arrays.<Package>asList(
  // Your other packages will be here
  new AVPackage()
), Arrays.<SingletonModule>asList());

Contributing

Contributions are very welcome! Please refer to guidelines described in the contributing guide.

3.0.3

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago