GithubHelp home page GithubHelp logo

ptzagk / react-native-module-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tipsi/react-native-module-boilerplate

0.0 1.0 0.0 594 KB

License: MIT License

Shell 24.37% Java 14.16% JavaScript 25.66% Python 6.56% Ruby 1.35% Objective-C 27.90%

react-native-module-boilerplate's Introduction

react-native-module-boilerplate

Build Status

  1. Fork project

  2. You need to rename (react-native-module-boilerplate) scripts:

    1. .travis/before-cache.sh
    2. scripts/copy-from-node-modules.sh
    3. scripts/local-ci.sh
    4. scripts/post-link-android.sh
    5. scripts/pre-link.sh
    6. package.json
  3. Android part

    1. android/src/main/java/com/gettipsi/boilerplate => android/src/main/java/com/%YOUR_COMPANY%/%YOUR_MODULE_NAME%
    2. android/src/main/java/com/gettipsi/boilerplate/RNBoilerplateModule.java
    3. android/src/main/java/com/gettipsi/boilerplate/RNBoilerplateReactPackage.java
    4. android/src/main/AndroidManifest.xml
  4. src folder

    1. src/*.js
  5. example folder

    1. package.json
    2. index.ios.js
    3. index.android.js
    4. android/app/build.gradle
    5. android/settings.gradle
  6. iOS part

    1. open ios/RNModule.xcodeproj
    2. Rename project in Xcode, also accept Xcode suggest
    3. Rename Component or Module files, it depends from your react-native-component type
    4. Close Xcode
    5. npm install
    6. cd example && npm install
    7. on example folder open ios/example.xcodeproj
    8. Remove RNModule.xcodeproj from Libraries
    9. Add new library

    image

react-native-module-boilerplate's People

Contributors

fans1k avatar isnifer avatar nickburkhart avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.