react-native-testmoudlelibrary

1.0.10 • Public • Published

react-native-testmoudlelibrary

Getting started

$ npm install react-native-testmoudlelibrary --save

Mostly automatic installation

$ react-native link react-native-testmoudlelibrary

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-testmoudlelibrary and add RNTestmoudlelibrary.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNTestmoudlelibrary.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.RNTestmoudlelibraryPackage; to the imports at the top of the file
  • Add new RNTestmoudlelibraryPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-testmoudlelibrary'
    project(':react-native-testmoudlelibrary').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-testmoudlelibrary/android')
    
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-testmoudlelibrary')
    

Usage

import RNTestmoudlelibrary from 'react-native-testmoudlelibrary';

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

Readme

Keywords

Package Sidebar

Install

npm i react-native-testmoudlelibrary

Weekly Downloads

1

Version

1.0.10

License

none

Unpacked Size

18.5 kB

Total Files

17

Last publish

Collaborators

  • zt3000_test