1.3.4 • Published 5 years ago

react-native-kefuim v1.3.4

Weekly downloads
29
License
-
Repository
-
Last release
5 years ago

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} />;
  }
}
1.3.4

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.0.0

5 years ago