react-native-bao-kim-camera

1.0.0 • Public • Published

react-native-bao-kim-camera

Getting started

$ npm install react-native-bao-kim-camera --save

Mostly automatic installation

$ react-native link react-native-bao-kim-camera

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-bao-kim-camera and add RNBaoKimCamera.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNBaoKimCamera.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Android

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

Windows

Read it! :D

  1. In Visual Studio add the RNBaoKimCamera.sln in node_modules/react-native-bao-kim-camera/windows/RNBaoKimCamera.sln folder to their solution, reference from their app.
  2. Open up your MainPage.cs app
  • Add using Bao.Kim.Camera.RNBaoKimCamera; to the usings at the top of the file
  • Add new RNBaoKimCameraPackage() to the List<IReactPackage> returned by the Packages method

Usage

import RNBaoKimCamera from 'react-native-bao-kim-camera';
 
// TODO: What to do with the module?
RNBaoKimCamera;

Readme

Keywords

Package Sidebar

Install

npm i react-native-bao-kim-camera

Weekly Downloads

3

Version

1.0.0

License

1.0

Last publish

Collaborators

  • danghung2403