npm.io
3.1.0 • Published 8 years ago

uap-camera-roll

Licence
MIT
Version
3.1.0
Deps
0
Vulns
0
Weekly
0

-uap-camera-roll

Getting started

$ npm install -uap-camera-roll --save

Mostly automatic installation

$ react-native link -uap-camera-roll

Manual installation
Android
  1. Open up android/app/src/main/java/[...]/MainActivity.java
  • Add import com.reactlibrary.RNUapCameraRollPackage; to the imports at the top of the file
  • Add new RNUapCameraRollPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':-uap-camera-roll'
    project(':-uap-camera-roll').projectDir = new File(rootProject.projectDir,     '../node_modules/-uap-camera-roll/android')
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
    compile project(':-uap-camera-roll')

Usage

import RNUapCameraRoll from '-uap-camera-roll';

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

Keywords