react-native-rokid-module
A framework for building native apps using React
Last updated 3 years ago by leolang .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install react-native-rokid-module 
SYNC missed versions from official npm registry.

React Native Rokid Module

Introduction

为Rokid定制的react native版本

Installation

npm i --save react-native-rokid-module

on Android:

####1. android/settings.gradle:: Add the following snippet

include ':RNFA',':react-native-rokid-module'
project(':react-native-rokid-module').projectDir = new File(rootProject.projectDir,'../node_modules/react-native-rokid-module/ReactAndroid')

####2. android/app/build.gradle: Add in dependencies block.

//  compile 'com.facebook.react:react-native:+'
    compile project(':react-native-rokid-module')

####3. android/local.properties.

ndk.dir=指向android ndk目录的绝对路径

####4. android/build.gradle: Add in dependencies block.

 //添加gradle-download-task依赖
 dependencies {
        classpath 'com.android.tools.build:gradle:2.1.0'
        classpath 'de.undercouch:gradle-download-task:2.0.0'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }

Current Tags

  • 0.0.2                                ...           latest (3 years ago)

2 Versions

  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dependencies (51)
Dev Dependencies (9)

Copyright 2014 - 2016 © taobao.org |