react-native-kefuim

1.3.4 • Public • Published

react-native-kefuim

Getting started

$ npm install react-native-kefuim --save

Mostly automatic installation

$ react-native link react-native-kefuim

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

Usage

import React, { Component } from "react";
import { Text, View } from "react-native";
import Demo from "react-native-kefuim";
 
export default class index extends Component {
  render() {
    return <Demo navigation={this.props.navigation} />;
  }
}

Readme

Keywords

Package Sidebar

Install

npm i react-native-kefuim

Weekly Downloads

2

Version

1.3.4

License

none

Unpacked Size

3.47 MB

Total Files

375

Last publish

Collaborators

  • daiyehao