Coder Social home page Coder Social logo

aidoskz / react-native-ecp Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 21.93 MB

React Native ECP

Java 0.03% JavaScript 0.01% C 75.91% Objective-C 0.41% C++ 3.91% Makefile 3.42% Batchfile 0.22% Perl 10.29% DIGITAL Command Language 1.42% Shell 0.61% Assembly 3.35% XS 0.02% M4 0.22% eC 0.02% Emacs Lisp 0.01% HTML 0.01% Scheme 0.02% Roff 0.01% Prolog 0.13% Ruby 0.01%

react-native-ecp's Introduction

react-native-ecp

Getting started

$ npm install react-native-ecp --save

Mostly automatic installation

$ react-native link react-native-ecp

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

Usage

import Ecp from 'react-native-ecp';

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

react-native-ecp

react-native-ecp's People

Contributors

aidoskz avatar dependabot[bot] avatar

Watchers

James Cloos avatar  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.