1.0.5 • Published 3 years ago

@mmrehman/react-native-slow-video-android-library v1.0.5

Weekly downloads
7
License
-
Repository
-
Last release
3 years ago

react-native-slow-video-android-library

Getting started

$ npm install react-native-slow-video-android-library --save

Mostly automatic installation

$ react-native link react-native-slow-video-android-library

Manual installation

Android

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

Usage

import RNSlowVideoAndroidLibrary from 'react-native-slow-video-android-library';

// TODO: What to do with the module?
RNSlowVideoAndroidLibrary;
1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago